php mysql function IS NOT NULL as argument code example Example: mysql check if not null SELECT * FROM table WHERE YourColumn IS NOT NULL;