The complete guide to SQL COALESCE. Learn the syntax, parameters, use cases and find practical examples in the Hightouch SQL Dictionary. This tutorial shows you how to use the SQL Server COALESCE expression to deal with NULL in queries. Coalesce in SQL - Learn how to use the COALESCE function in SQL to handle NULL values. Explore syntax, examples & comparisons with other SQL functions. The MySQL COALESCE () function returns the first non-null value in a list of expressions. COALESCE function in MySQL The COALESCE function in MySQL is used to get the first non-null value from a list of expressions. If all the values in the list are evaluated to NULL, then the COALESCE () function returns NULL. The COALESCE () function accepts one parameter, which is the list, which can contain various values. Syntax The MySQL COALESCE function syntax is: COALESCE (value_1, value_2 ...