Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Returns the first non-NULL expression among the input parameters.
coalesce(expr1,...);
expr1
mysql> select coalesce(3,NULL,1,1); +-------------------------+ | coalesce(3, NULL, 1, 1) | +-------------------------+ | 3 | +-------------------------+ 1 row in set (0.00 sec)