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!

multiple row in a single line

791884Oct 7 2013 — edited Oct 7 2013

Hi Sir,

i have a table  x which have data like below

IDDEPT
10SALES
10PRESALES
10MARKETING
20IT
20ADMIN

I  want data like below

IDDEPT
10SALES,PRESALES,MARKETING
20IT,ADMIN

i do not want to use the LISTAGG function.... kindly tell me if  we can solve it by level or case decode function

Best Regards,

Prem kumar

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 4 2013
Added on Oct 7 2013
22 comments
1,530 views