ORACLE :select id, wm_concat(NAME) NAME from STUDENT group by id DB2:select listagg(usercode,',') from cc_user