Answers for "how to count codition"

SQL
0

how to count codition

select count(case Position when 'Manager' then 1 else null end)
from ...
Posted by: Guest on August-19-2021
0

how to count codition

select sum(case Position when 'Manager' then 1 else 0 end)
from ...
Posted by: Guest on August-19-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language