
Larry C. answered 05/05/19
Computer Science and Mathematics professional
If you want to just omit rows from the resultset that has a null in one or more columns, just add to the WHERE clause
AND NOT ISNULL(someColumn) AND NOT ISNULL(someOtherColumn) AND ...
If instead you want to replace nulls with some default value, you would have to replace SELECT * (which is rather poor querying practice to begin with) with an actual list of the columns. For those columns which are nullable, you can use either the IFNULL() or COALESCE() function to specify a default value when a null is encountered.