Syntax
$IFNULL(column, specified-value)
$IFNULL()
Required.
column
Required. Column name that might contain a null value.
specified-value
Required. The value to return if the column value is null.
This value must be of the same datatype as the column.
top
Example
select company,
$IFNULL(contact, "No contact")
from customers
where company='systems'
top
|