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.

column values separated by ,

407048Sep 14 2006 — edited Oct 29 2009
Suppose say I have table TAB1 with the following data :

COL1 COL2
1 A
1 B
1 C
2 M
2 N
2 O
2 P
2 Q
3 S
3 T

How would I retrieve the data in the following format ?

1 A,B,C
2 M,N,O,P,Q
3 S,T

Comments

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

Post Details

Locked on Nov 26 2009
Added on Sep 14 2006
24 comments
13,816 views