SQL FunctionsConditional FunctionsNULLIFOn this pageNULLIFReturns NULL if two expressions are equal. Otherwise return expr1. They must have the same data type.SyntaxNULLIF(<expr1>, <expr2>)ExamplesSELECT NULLIF(0, NULL);┌─────────────────┐│ nullif(0, null) │├─────────────────┤│ 0 │└─────────────────┘