码迷,mamicode.com
首页 > 其他好文 > 详细

OCP 12c最新考试原题及答案(071-4)

时间:2019-02-12 18:33:20      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:rom   more   minimum   inf   sel   解析   ber   ocp   where   

4、(4-11) 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);

OCP 12c最新考试原题及答案(071-4)

标签:rom   more   minimum   inf   sel   解析   ber   ocp   where   

原文地址:http://blog.51cto.com/13854012/2349499

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!