select a.all_money, count(distinct uid) from(
select sum(money) as all_money, uid from income where dt='20180704' group by uid)a
group by all_money
select sum(money) as all_money, uid from income where dt='20180704' group by uid)a
group by all_money
0 个回复