【OCP 12c】最新Oracle 1Z0-071考試題庫(15題)
最新學訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯系在線老師,甲骨文官方認證,報名從速!
我要咨詢2018年OCP 11g考試原題解析已經講解30多次課,500多道考試原題,最終達到98%以上的考題覆蓋度及95%以上的考試通過率。
2019年OCP 11g將升級到12c,OCP 12c考試解析免費公開課也已經開始了,歡迎大家收看!
OCP解析公開課時間:【每周五晚8點】
OCP解析公開課地址:http://ke.qq.com/course/326223
OCP解析群資料分享:1015267481 驗證:ocp
另外,除了OCP公開課,OCM題庫直播也同步進行中,OCM最新題庫大爆料-【每周四晚8點】,【微信群直播】,可以聯系咨詢老師進群參與
-------------------------------------------------------
15.choose the best answer
View the Exhibit and examine the structure of the ORDER_ITEMS table.
Examine the following SQL statement:
SELECT order_id, product_id, unit_price
FROM order_items
WHERE unit_price =
(SELECT MAX(unit_price)
FROM order items
GROUP BY order_id);
You want to display the PRODUCT_ID of the product that has the highest UNIT_PRICE per ORDER_ID.
What correction should be made in the above SQL statement to achieve this?
A) Replace = with the >ALL operator.
B) Replace = with the >ANY operator.
C) Remove the GROUP BY clause from the subquery and place it in the main query.
D) Replace = with the IN operator.
Answer:D
(解析:題意是希望顯示每個 ORDER_ID 具有最高 UNIT_PRICE 的產品的 PROT_ID 的信息)