查询DB2多行数据一行显示(精简sql)
select o1.ORGTYPE,varchar(replace(replace(xml2clob(xmlagg(xmlelement(NAME a,orgName||','))),'<A>',''),'</A>',' ')) as aaafrom org o1 group by o1.ORGTYPE