首页 > 高职专科
题目内容 (请给出正确答案)
[单选题]

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

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“MaxcomputeSQL提供了CASE…WHEN…,可以进…”相关的问题
第1题
如今的CASE(计算机辅助软件工程)工具提供了开发系统模型的两种不同方式是()。

A.顺序开发

B.迭代开发

C.正向工程

D.逆向工程

点击查看答案
第2题
以下MaxcomputeSQL()效率最高。
A、select*from(select*fromAwheredt=20140301)A`leftouterjoinBonB.id=A.id

B、没有区别

C、select*fromAleftouterjoinBonB.id=A.idandA.dt=20140301

D、select*fromAleftouterjoinBonB.id=A.idwhereA.dt=20140301

点击查看答案
第3题
PowerDesigner Sybase公司提供的CASE工具,它包括多个模块,其中用于数据库概念数据建模(CDM)的模

PowerDesigner Sybase公司提供的CASE工具,它包括多个模块,其中用于数据库概念数据建模(CDM)的模块是_____。

点击查看答案
第4题
对于switch语句,描述错误的()。
对于switch语句,描述错误的()。

A、switch中的表达式的值限定了数据类型,只能是byte、char、int类型的值,返回其他类型的值,程序会提示错误。

B、从case到break代表一个分支结构。case后面为常量表达式,用于判断与switch中表达式是否相等。

C、如果每个分支的值和表达式都不相等,则执行default后面的语句。

D、default语句不可以去掉。

点击查看答案
第5题
假定金融体制经历了一场巨大变化。人们能够从其储蓄账户中开出支票。货币需求会发生什么变化?货币
总量是否需要重新定义? Assume that the financial system undergoes substantial changes and that people become able to draw checks on their saring deposits. What would happen to money demand?Would there be a case for redefining the monetary aggregates?

点击查看答案
第6题
A.case ofB.a caseC.any caseD.court

A.case of

B.a case

C.any case

D.court

点击查看答案
第7题
The case was crushed. It looks______the case was not strong enough to stand voyage.

A.as if

B.like

C.likely

D.possible

点击查看答案
第8题
The judge dismissed the case because there was not______evidence.A.adequateB.excessiveC.ma

The judge dismissed the case because there was not______evidence.

A.adequate

B.excessive

C.many

D.plenty

点击查看答案
第9题
A.caseB.shortC.turnD.essence

A.case

B.short

C.turn

D.essence

点击查看答案
第10题
I know it may rain tomorrow, but I am going home ______.A.in no caseB.in this caseC.in any

I know it may rain tomorrow, but I am going home ______.

A.in no case

B.in this case

C.in any case

D.in case

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改