Syntax:ISNULL(expr)If expr is NULL, ISNULL() returns 1, otherwise it returns 0.
mysql> SELECT ISNULL(1+1); -> 0mysql> SELECT ISNULL(1/0); -> 1