Jak liczyć wartości zerowe w SQL
SELECT COUNT(1) FROM my_table WHERE my_column IS NULL;
VasteMonde
SELECT COUNT(1) FROM my_table WHERE my_column IS NULL;
select sum(case when a is null then 1 else 0 end) count_nulls
, count(a) count_not_nulls
from us;
SELECT COUNT(*)
FROM Employee
WHERE email IS NULL;