Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Multiple rows into a single line in 'Single Column Table'

647384Sep 24 2009 — edited Nov 20 2009
Hi,

I want to select Multiple rows into a single line in 'Single Column Table' .

For ex:

Employee table has only one column , named as empname . it has three rows

Select empname from emp;

empname
------------
thambi
peter
antony

My expected result: thambi,peter,antony

i did see some post regarding pivot query but did not get righ post for Single Column table.. Can someone help me.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 18 2009
Added on Sep 24 2009
15 comments
185,848 views