📅  最后修改于: 2022-03-11 15:05:23.337000             🧑  作者: Mango
SELECT
NULLIF (1, 1); -- return NULL
SELECT
NULLIF (1, 0); -- return 1
SELECT
NULLIF ('A', 'B'); -- return A
Code language: SQL (Structured Query Language) (sql)