sql – How do I check if a column is empty or null in mysql – Stack Overflow
This will select all rows where some_col
is NULL
or ''
(empty string)
SELECT * FROM table WHERE some_col IS NULL OR some_col = '';
sql – How do I check if a column is empty or null in mysql – Stack Overflow
This will select all rows where some_col
is NULL
or ''
(empty string)
SELECT * FROM table WHERE some_col IS NULL OR some_col = '';