count percentage of null values in all columns in table sql code example
Example: sql count null values in all columns
SELECT sum(CASE WHEN column_A IS NULL THEN 1 ELSE 0 END) A,
sum(CASE WHEN column_B IS NULL THEN 1 ELSE 0 END) B
FROM my_table;