sql coalesce
snippet in sql

sql coalesce

user9587


  SELECT 
  COALESCE(NULL, NULL, NULL, 'W3Schools.com', NULL, 'Example.com'); 

sql Coalesce

user452

-- Return the first non-null value in a list
  SELECT 
  COALESCE(NULL, NULL, NULL, 'W3Schools.com', NULL, 'Example.com');