COALESCE()

Return the first non-null value in a list.


SELECT COALESCE(NULL, NULL, 10, NULL, NULL, 'sQl');

Output:
10