@llplmlyd
2020-12-16T13:23:21.000000Z
字数 610
阅读 679
数据库
myql
sql_statement
If expr1 is TRUE (expr1 <> 0 and expr1 <> NULL), IF() returns expr2. Otherwise, it returns expr3.
如果表达式 1是真 真则返回表达式2 ,否则返回表达式3(假)The default return type of IF() (which may matter when it is stored into a temporary table) is calculated as follows:
IF()的默认返回类型(将其存储到临时表中时可能很重要)的计算如下: