Топ-100
 
RDBMS Type: MySQL
Topic

Syntax:
ISNULL(expr)

If expr is NULL, ISNULL() returns 1, otherwise it returns 0.

URL: https://dev.mysql.com/doc/refman/8.0/en/comparison-operators.html

Example

mysql> SELECT ISNULL(1+1);
-> 0
mysql> SELECT ISNULL(1/0);
-> 1