Possible Duplicate:
Is there an Oracle SQL query that aggregates multiple rows into one row?
Fast way to generate concatenated strings in Oracle
An oracle sql newbie question
i have a following table:
id1 A
id1 B
id1 C
id1 A
id2 A
id3 B
id3 A
What I want to get
id1 A,B,C
id2 A
id3 B,A
I cannot use loops, i have to get it with just a query
I use an Oracle DB v10 (I know it's important because of this).