98.Which statement is true regarding the COALESCE function?

来源:互联网 发布:怎么加淘宝商家微信号 编辑:程序博客网 时间:2024/04/29 10:08
98.Which statement is true regarding the COALESCE function?
A.It can have a maximum of five expressions in a list.
B.It returns the highest NOT NULL value in the list for all rows.
C.It requires that all expressions in the list must be of the same data type.
D.It requires that at least one of the expressions in the list must have a NOT NULL value.
答案:C
解析:
COALESCE:返回第一个不为null的值,必须至少两个表达式,如果表达式全为null,那么返回null,参数类型必须相等
0 0
原创粉丝点击