Answers for "sql count null values in all columns"

SQL
0

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;
Posted by: Guest on April-21-2021

Code answers related to "sql count null values in all columns"

Code answers related to "SQL"

Browse Popular Code Answers by Language