mysql if null or emo=pty check code example
Example 1: how to check a db specific rows col is empty
SELECT * FROM table WHERE some_col IS NULL OR some_col = '';
Example 2: check if value is null mysql
SELECT * from TABLE where CODE IS NULL OR CODE!='C'