nullif

Returns null if "expression1" equals "expression2", otherwise returns "expression1".

Syntax

nullif ( expression1, expression2 )