oracle多行合并

oracle还是很强大的,今天需要用到一个sql需对分组数据进行合并,没想到oracle有直接写好的方法 再次记录下拉先
SELECT n_sec_code, wmsys.wm_concat (c_researcher_code) as result
FROM m_researcher_stock_rel
GROUP BY n_sec_code

猜你喜欢

转载自huhanlin-2008-163-com.iteye.com/blog/1821277