IFNULL

If $1 is NULL, return $2, else return $1.

Syntax

IFNULL($1, $2)

Parameters

$1

May be anything

$2

May be anything

Same as

IIF($1 IS NULL, $2, $1)