【OCP 071】最新OCP 12c題庫(kù)考試原題(30題)
最新學(xué)訊:近期OCP認(rèn)證正在報(bào)名中,因考試人員較多請(qǐng)盡快報(bào)名獲取最近考試時(shí)間,報(bào)名費(fèi)用請(qǐng)聯(lián)系在線老師,甲骨文官方認(rèn)證,報(bào)名從速!
我要咨詢2018年OCP 11g考試原題解析已經(jīng)講解30多次課,500多道考試原題,最終達(dá)到98%以上的考題覆蓋度及95%以上的考試通過率。
2019年OCP 11g將升級(jí)到12c,OCP 12c考試解析免費(fèi)公開課也已經(jīng)開始了,歡迎大家收看!
OCP解析公開課時(shí)間:【每周五晚8點(diǎn)】
OCP解析公開課地址:http://ke.qq.com/course/326223
OCP解析群資料分享:1015267481 驗(yàn)證:ocp
另外,除了OCP公開課,OCM題庫(kù)直播也同步進(jìn)行中,OCM最新題庫(kù)大爆料-【每周四晚8點(diǎn)】,【微信群直播】,可以聯(lián)系咨詢老師進(jìn)群參與
-------------------------------------------------------
30、(5-5) choose the best answer
View the Exhibit and examine the structure of the SALES and STORES tables.
You want to display the store name and the total quantity sold for each item in the store.
Which SQL statement will give the required output?
A) SELECT str.name, s1.items_id, SUM(s1.quantity)
FROM sales s1 JOIN stores str
ON (s1.store_id = str.store_id)
GROUP BY str.name, s1.items_id, s1.quantity;
B) SELECT str.name, s1.items_id, SUM(s1.quantity)
FROM sales s1 JOIN stores str
ON (s1.store_id = str.store_id)
GROUP BY str.name, s1.items_id;
C) SELECT str.name, s1.items_id,
(SELECT SUM(quantitY)
FROM sales sls
ON sls.store_id = s1.store_id
GROUP BY sls.store_id)
FROM sales s1 JOIN stores str
ON (s1.store_id = str.store_id);
D) SELECT str.name, s1.items_id, SUM(s1.quantity)
FROM sales s1 JOIN stores str ON (s1.store id = str.store_id)
GROUP BY s1.items_id, s1.quantity;
Answer:B
(解析:分組函數(shù)的最基本特點(diǎn),沒有出現(xiàn)在分組函數(shù)中的列必須要出現(xiàn)在 group by 子句中。)
- 冉乃綱-老師CUUG金牌講師
- 冉老師 CUUG金牌講師 Oracle及RedHat高級(jí)講師、Unix/Linux 資深專家...[詳細(xì)了解老師]

- 陳衛(wèi)星-老師CUUG金牌講師
- 陳老師 CUUG金牌講師 精通Oracle管理、備份恢復(fù)、性能優(yōu)化 11年Ora...[詳細(xì)了解老師]
