📜  用 where 计数 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:27.579000             🧑  作者: Mango

代码示例2
select count(case Position when 'Manager' then 1 else null end)
from ...


select sum(case Position when 'Manager' then 1 else 0 end)
from ...