语句直接复制,不需要的条件可以删除~ SELECT count(case when type = '咨询订阅' then 1 else null end) as type1, count(case when type = '用电业务' then 1 else n