怎么改 代码如下
s elect 工程类型,sum(case when 工程类型 = 全过程 then 1 else 0 end) as 全过程,sum(case when 工程类型 = 工程决算 then 1 else 0 end) as 工程决算 from 工程统计表group by 工程类型