user51561
0
Q:

condition in count sql

select count(case Position when 'Manager' then 1 else null end)
from ...


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

SELECT COUNT(column_name)

FROM table_name

WHERE condition; 
7

New to Communities?

Join the community