mysql>
IFNULL(, )
mysql>
The function returns if it is not NULL;
otherwise, it returns .
mysql>
mysql> SELECT IFNULL(10*NULL, 'expression incorrect');
+-----------------------------------------+
| IFNULL(10*NULL, 'expression incorrect') |
+-----------------------------------------+
| expression incorrect |
+-----------------------------------------+
1 row in set (0.00 sec)
mysql>