1Syntax
2The following illustrates the syntax of the IFNULL function.
3
4IFNULL(parameter_1,parameter_2);
5Arguments
6The IFNULL function has exactly two arguments.
7
8The IFNULL function is equivalent to the COALESCE function with two arguments. Note that the COALESCE function can have more than two arguments.
9
10Return type
11The IFNULL function returns the type of the argument or NULL.