How can we vary the number of columns displayed for a 'select' query horizontally (in a horizontal sequence). The sql output displays only 2 columns in a horizontal sequence and shifts the next columns to the next line in groups of two as follows:
NAME | EMP.NO
-----------
DEPT | LOC
I want it to be displayed all in one line as :
NAME | EMP.NO | DEPT NO | LOC