May 2005
Intermediate to advanced
352 pages
14h 39m
English
COALESCE( )
COALESCE(column[, . . . ])This function returns the leftmost non-NULL string or column in a comma-separated list. If all elements are NULL, the function returns NULL.
SELECT COALESCE(col1, col2, col3) FROM table1;
Read now
Unlock full access