OCP 1Z0 051 133
来源:互联网 发布:回国人员留学证明 知乎 编辑:程序博客网 时间:2024/05/09 13:55
133. Which two statements are true regarding subqueries? (Choose two.)
A. A subquery can retrieve zero or more rows.
B. Only two subqueries can be placed at one level.
C. A subquery can be used only in SQL query statements.
D. A subquery can appear on either side of a comparison operator.
E. There is no limit on the number of subquery levels in the WHERE clause of a SELECT statement.
B 不对,同一层可用多个子旬询
C 不对,子查询可用于查询、更新、删除
E 不对,见 http://docs.oracle.com/cd/E11882_01/server.112/e41084/queries007.htm#SQLRF52357
A subquery in the
Answer: AD
A. A subquery can retrieve zero or more rows.
B. Only two subqueries can be placed at one level.
C. A subquery can be used only in SQL query statements.
D. A subquery can appear on either side of a comparison operator.
E. There is no limit on the number of subquery levels in the WHERE clause of a SELECT statement.
B 不对,同一层可用多个子旬询
SQL> SELECT * 2 FROM dept 3 WHERE EXISTS (SELECT * FROM emp WHERE emp.deptno = dept.deptno AND emp.empno = 7839) 4 OR EXISTS (SELECT * FROM emp WHERE emp.deptno = dept.deptno AND emp.empno = 7566) 5 OR EXISTS (SELECT * FROM emp WHERE emp.deptno = dept.deptno AND emp.empno = 7654); DEPTNO DNAME LOC---------- -------------- ------------- 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO3 rows selected
C 不对,子查询可用于查询、更新、删除
E 不对,见 http://docs.oracle.com/cd/E11882_01/server.112/e41084/queries007.htm#SQLRF52357
A subquery in the
WHERE
clause of a SELECT
statement is also called a nested subquery. You can nest up to 255 levels of subqueries in the a nested subquery.Answer: AD
0 0
- OCP 1Z0 051 133
- OCP 1Z0 052 133
- OCP 1Z0 053 133
- OCP 1Z0 051 1
- OCP 1Z0 051 2
- OCP 1Z0 051 3
- OCP 1Z0 051 4
- OCP 1Z0 051 5
- OCP 1Z0 051 6
- OCP 1Z0 051 7
- OCP 1Z0 051 8
- OCP 1Z0 051 9
- OCP 1Z0 051 10
- OCP 1Z0 051 11
- OCP 1Z0 051 12
- OCP 1Z0 051 13
- OCP 1Z0 051 14
- OCP 1Z0 051 15
- Zend studio 调整优化
- TCP 的那些事儿(上)
- service命令
- eclipse中Nodejs+MongoDB搭建
- 赵雅智_Intent传值
- OCP 1Z0 051 133
- vs 中大括号之间垂直虚线显示
- Android HttpClient post MultipartEntity upload.
- TCP 的那些事儿(下)
- 就是这么“高大上”!20个最受欢迎的Linux命令
- 温度传感器室温监控仪
- NOJ [1122] Shameimaru's Candid Camera
- Oracle purge 用法介绍
- 《Unix-Linux编程实践教程》读书笔记(八)