Back
I have a column in a table which might contain null or empty values. How do I check if a column is empty or null in the rows present in a table.
(e.g. null or '' or ' ' or ' ' and ...)
Try this code:
SELECT * FROM table WHERE some_col IS NULL OR some_col = '';
30.9k questions
32.9k answers
500 comments
665 users