`

查询DB2多行数据一行显示(精简sql)

 
阅读更多

select o1.ORGTYPE,varchar(replace(replace(xml2clob(xmlagg(xmlelement(NAME a,orgName||','))),'<A>',''),'</A>',' ')) as aaa
from org o1 group by o1.ORGTYPE

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics