大數據就業實戰培訓 Oracle就業實戰培訓
071考試題庫之前是比較穩定的,但隨著Oracle的調整,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);
)