mysql select default if null
snippet in sql

mysql select default if null

user8850

IFNULL(MAX(EMAIL), "example@google.com") as email