PostgreSQL · Function
nullif
NULLIF(value1, value2) returns NULL when its two arguments are equal. Otherwise, it returns the first argument.
Last updated
Syntax
NULLIF(value1, value2)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
CASECOALESCE=