该帮助的版本不再更新,请参见https://www.jmp.com/support/help/zh-cn/15.2 获取最新的版本.


COALESCE( arg1,..., argN )
IFNULL( arg1, arg2 )
Returns arg1 if not NULL, otherwise arg2. Basically, IFNULL is a two-argument version of COALESCE().
NULLIF( arg1, arg2 )
Returns arg1 if arg1 and arg2 are different and returns NULL if the arguments are equal. Used when you have non-NULL values in your database that you want to treat as NULL.