OCP-1Z0-051 补充题库 第5题 主查询和子查询的注意事项

一、原题
Which three statements are true regarding sub queries? (Choose three.)
A. Multiple columns or expressions can be compared between the main query and sub query
B. Main query and sub query can get data from different tables
C. Sub queries can contain GROUP BY and ORDER BY clauses
D. Main query and sub query must get data from the same tables
E. Sub queries can contain ORDER BY but not the GROUP BY clause
F. Only one column or expression can be compared between the main query and subqeury

答案: A,B,C

二、题目翻译
下列关于子查询的描述哪三项是正确的?(选择三项)
A.多列或表达式可以在主查询和子查询之间比较。
B.主查询和子查询可以从不同的表中获取数据。
C.子查询可以包含GROUP BY 和ORDER BY 子句。
D.主查询和子查询必须从相同的表中获取数据。
E.子查询可以包含ORDER BY子句,但是不能包含GROUP BY子句。
F.在主查询和子查询中,只能比较一列或表达式。

三、题目解析
主查询和子查询可以从不同的表中取数据,而且,子查询中可以包含GROUP BY 和ORDER BY 子句,也可以在主查询和子查询之间比较多列数据。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值