oracle數據庫中將列字段拼接成字符串

select a.*,rownum ros  from ( select listagg(t1.zt_hz,',') within group (order by t.NSRSBH) pj    from dt_gkjl_gkjlls t, nsr_dm_pj t1  WHERE t.pjnsrid = t1.zt_dm  and t.NSRSBH='370784199110286434'  or
相關文章
相關標籤/搜索