select zzys1xm as 姓名,hkxmmc as 项目名称,sum(hksl) as 总数量,sum(hkxj) as 总金额 from "v_hub_dwd_confirmation" where hkjg = '?' group by zzys1xm,hkxmmc,hksl order by sum(hkxj)
select zzys1xm as 姓名,hkxmmc as 项目名称,sum(hksl) as 总数量,sum(hkxj) as 总金额 from "v_hub_dwd_confirmation" where hkjg = '?' group by zzys1xm,hkxmmc order by sum(hkxj)