Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns NULL if expr1 is equal to expr2.
expr1
expr2
nullif(expr1,expr2);
mysql> select nullif(1,2); +--------------+ | nullif(1, 2) | +--------------+ | 1 | +--------------+ mysql> select nullif(1,1); +--------------+ | nullif(1, 1) | +--------------+ | NULL | +--------------+