wm_concat 使用

 经常用的,自己mark一下,有更好的处理办法希望推荐给我

select tt.c_fundcode ,
       wm_concat (  tt.c_profitclass||':'||rtrim(to_char(tt.f_profit*100,'fm99999999999990.999999'),'.')||'%') as profit
from ttrustfundprofit tt where tt.c_fundcode='005440'
group by tt.c_fundcode

  处理前和处理后的对比截图

 


 
 

猜你喜欢

转载自beee.iteye.com/blog/1991732