赞
踩
select a.xxx,
regexp_replace(listagg(b.area_proname,',') within group(order by b.area_proname),'([^,]+)(,\1)+', '\1') as area_proname
from table_1 a,
table_2 b
where a.xx = b.xx
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。