如何在sun函数前使用ifnull
发布网友
发布时间:2022-09-24 05:22
我来回答
共1个回答
热心网友
时间:2023-09-11 18:33
SQL Syntax 1:
IFNULL( expression, replacement )
Parameters:
expression
Any expression of any type. This expression is check for NULL.
replacement
The return value if the expression is NULL.
Escape Syntax:
{fn IFNULL( expression, replacement )}
Return Type:
The same as the numeric expression.
SQL SYNTAX 2:
IFNULL( expression )
Return Type:
BOOLEAN
SELECT ifnull( name , '')