how to fill default value if column is null in mysql code example Example: mysql select default if null IFNULL(MAX(EMAIL), "[email protected]") as email