sum行列合计

select sum(decode(cplb,'3',hj,0)) from lr_scsjdqdw t group by zcxmdm

原文地址:https://www.cnblogs.com/sddychj/p/5284719.html