Quick
Ref.
Functions
Data Types
|
COALESCECOALESCE takes any number of arguments and returns the first value that is not null. COALESCE(x,y,z) = x if x is not NULL COALESCE(x,y,z) = y if x is NULL and y is not NULL COALESCE(a,y,z) = z if x and y are NULL but z is not NULL COALESCE(x,y,z) = NULL if x and y and z are all NULL
See also: | |||||||||||||||||||||