12

wm_concat列转行排序问题

2017-03-28 17:41:00    1147533288    1186    原创
摘要:oracle wm_concat列转行排序问题

select cityid, max(r)
 from (select cityid, dbms_lob.substr(wm_concat(year) over (partition by cityid order by year)) as r from new_resources)
 group by cityid;

苏ICP备18038013号-1
蝉知 蝉知5.2