oracle将查询结果拼装成字符串 博客分类: oracle
程序员文章站
2024-03-22 16:40:34
...
11g里面用listagg,10g里面用wm_concat
select listagg(name,',') within (order by id) from table
select wm_concat(name) from table