Possible Duplicate:
Is there an Oracle SQL query that aggregates multiple rows into one row?
i have the below output for my sql query to get the users details from oracle table
Select distinct userid from Scope1
USERID
Rakesh
Admin
i want the output to be as below so that i can do my queries even easier. please help me.
USERID
'Rakesh','Admin'
Thanks