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!

Concatenation in a Group by

642591Jun 2 2008 — edited Jun 2 2008
Hi,

I'd like to concatenate attributes on a vertical basis when I perform a Group by

For example:
TABLE_TEST
ID STATUS
1003 PL
1003 OP
1003 OP

I am looking for
ID STATUS
1003 PL, OP, OP

The query would be something like:

Select ID, concat(STATUS)
From TABLE_TEST
Group by ID

Is that possible? Cheers
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2008
Added on Jun 2 2008
5 comments
292 views