11g里面用listagg,10g里面用wm_concatselect listagg(name,',') within (order by id) from tableselect wm_concat(name) from table