Syntax\n------\n\nCOALESCE(value,...)\n\nDescription\n-----------\n\nReturns the first non-NULL value in the list, or NULL if there are no non-NULL values. At least one parameter must be passed.\n\nThe function is useful when substituting a default value for null values when displaying data.\n\nSee also NULL Values in MariaDB.\n\nExamples\n--------\n\nSELECT COALESCE(NULL,1);\n+------------------+\n| COALESCE(NULL,1) |\n+------------------+\n|                1 |\n+------------------+\n\nURL: https://mariadb.com/docs/server/reference/sql-structure/operators/comparison-operators/coalesce