In SQL when i execute a query with projection of one column from a "table A" am getting results set in three rows of that column , I need it in one row side by side.
Example
select rank from table A where name="RAMESH"
I have 1,2,3 ranks on the name "ramesh" am getting result set as
RANK
----
1
2
3
but I need like this
RANK(1) RANK(2) RANK(3)
------- ----- --------
1 2 3
Please help me out....
Thanks in Advance