题目内容
(请给出正确答案)
[单选题]
MaxcomputeSQL提供了CASE…WHEN…,可以进行条件判断。表tbl中包含了字段(idbigint,agebigint),目前有三条纪录,分别为(1,20),(2,30),(3,60),执行以下SQL:selectid,casewhenage>60then‘A’whenage>40then‘B’whenage>20then‘C’else‘D’endfromtblwhereid=3;()是正确的执行结果。
A.A
B.B
C.C
D.D
查看答案
如果结果不匹配,请 联系老师 获取答案