select to_char(replace(wm_concat(name), ',', '')) from codeitems where setid = 'A018' and '110101' like code || '%' GO
select listagg(name,'') within group(order by code) from codeitems where setid = 'A018' and '110101' like code || '%'
WM_CONCAT和LISTAGG 语法例子
猜你喜欢
转载自www.cnblogs.com/jinanxiaolaohu/p/10101137.html
今日推荐
周排行