The NULLIF() function compares two expressions and returns NULL if they are equal. Otherwise, the first expression is returned.
NULLIF(
expr1,
expr2)
Parameter | Description |
---|---|
expr1, expr2 | Required. The two expressions to be compared |
Works in: | From MySQL 4.0 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!