当前位置:Gxlcms > 数据库问题 > Oracle10 多行和并

Oracle10 多行和并

时间:2021-07-01 10:21:17 帮助过:4人阅读

SELECT fspc, wmsys.wm_concat (jsrzmc) as jsr FROM dxjsrxx GROUP BY fspc

  

select fspc, LISTAGG(jsrzmc,‘,‘)  WITHIN GROUP( ORDER BY fspc) jsr
from dxjsrxx group by fspc

  

Oracle10 多行和并

标签:

人气教程排行