北京优技教育科技有限公司
Oracle 12c的OCP考试考3科,分别是071、062、063,对于这些考题,我们专门有人负责收集整理,并由专业的老师对这些考题进行解析,希望可以帮助想考OCP的同学,这里开始介绍071的题库。
每周五晚8点,我们有免费的OCP解析公开课,地址:https://ke.qq.com/course/326223 OCP题库交流群:1015267481,验证ocp
-------------------------------------------------------
071考试题库-第25题、choose two:
View the Exhibit and examine the data in the PRODUCT_INFORMATION table.
Which two tasks would require subqueries? (Choose two.)
A) displaying all supplier IDs whose average list price is more than 500
B) displaying the total number of products supplied by supplier 102071 and having product status OBSOLETE
C) displaying all the products whose minimum list prices are more than the average list price of products having the product status orderable
D) displaying the number of products whose list prices are more than the average list price
E) displaying the minimum list price for each product status
Answer:CD
(解析:子查询用在查询未知的值。
C 的答案类似于:
SQL> select sal from emp where sal > (select avg(sal) from emp where job='SALESMAN');
D 的答案类似于:
SQL> select count(*) from emp where sal > (select avg(sal) from emp);
)