Code:
SELECT
count(*) as count,
sum(Status = 'test1') as count_test1,
sum(Status = 'test2') as count_test2
FROM Table
WHERE Type = 'test'
in result i see:
count count_test1 count_test2
0 NULL NULL
Tell me please is it possible to make that instead of NULL will be displayed 0?
P.S.: That results was:
count count_test1 count_test2
0 0 0