SQL Function Reference

NULLIF
Returns NULL if the values passed by the 1st or 2nd argument match, otherwise returns the value passed by the first argument.
MySQL
NULLIF(value_1, value_2)
Examples
MySQL
SELECT NULLIF("SQL Academy", "SQL Academy");