In Oracle 11g, puoi utilizzare LISTAGG() funzione:
select id,
number,
listagg(letter, ', ') within group(order by id, number) as letter
from yourtable
group by id, number;
Vedi SQL Fiddle con demo
In Oracle 11g, puoi utilizzare LISTAGG() funzione:
select id,
number,
listagg(letter, ', ') within group(order by id, number) as letter
from yourtable
group by id, number;
Vedi SQL Fiddle con demo