17,082
社区成员
发帖
与我相关
我的任务
分享
select wmsys.wm_concat(bf_wz) from p_baofei where bf_type='1011' and bf_qty>0
select listagg(bf_wz,';')within group(order by rownum) from p_baofei where bf_type='1011' and bf_qty>0
低版本只能连接完再使用replace替换
select replace(wmsys.wm_concat(bf_wz),',',';')
from p_baofei where bf_type='1011' and bf_qty>0