一、原题
二、题目翻译
Where can sub queries be used? (Choose all that apply)
A. field names in the SELECT statement
B. the FROM clause in the SELECT statement
C. the HAVING clause in the SELECT statement
D. the GROUP BY clause in the SELECT statement
E. the WHERE clause in only the SELECT statement
F. the WHERE clause in SELECT as well as all DML statements
答案: A,B,C,F
A. field names in the SELECT statement
B. the FROM clause in the SELECT statement
C. the HAVING clause in the SELECT statement
D. the GROUP BY clause in the SELECT statement
E. the WHERE clause in only the SELECT statement
F. the WHERE clause in SELECT as well as all DML statements
答案: A,B,C,F
二、题目翻译
子查询可以使用在什么地方?(选择所有正确的选项)
A.SELECT后面的字段名。
B.SELECT语句中的FROM子句中。
C.SELECT语句中的HAVING子句中。
D.SELECT语句中的 GROUP BY子句中。
E.只能用在SELECT语句中的WHERE子句中。
F.可以使用在SELECT语句的WHERE子句中,也可以在其它DML语句。
</
A.SELECT后面的字段名。
B.SELECT语句中的FROM子句中。
C.SELECT语句中的HAVING子句中。
D.SELECT语句中的 GROUP BY子句中。
E.只能用在SELECT语句中的WHERE子句中。
F.可以使用在SELECT语句的WHERE子句中,也可以在其它DML语句。
</

本篇博客探讨了OCP-1Z0-051考试中关于子查询的使用范围,指出子查询可以在SELECT的字段名、FROM子句、HAVING子句以及DML语句中使用,但不能在GROUP BY子句中。详细解释了每个选项的正确与否,并引用了Oracle官方文档来支持解析。
最低0.47元/天 解锁文章
1172

被折叠的 条评论
为什么被折叠?



