【OCP 12c】最新Oracle 1Z0-071考試題庫(kù)(21題)
最新學(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%以上的考試通過(guò)率。
2019年OCP 11g將升級(jí)到12c,OCP 12c考試解析免費(fèi)公開(kāi)課也已經(jīng)開(kāi)始了,歡迎大家收看!
OCP解析公開(kāi)課時(shí)間:【每周五晚8點(diǎn)】
OCP解析公開(kāi)課地址:http://ke.qq.com/course/326223
OCP解析群資料分享:1015267481 驗(yàn)證:ocp
另外,除了OCP公開(kāi)課,OCM題庫(kù)直播也同步進(jìn)行中,OCM最新題庫(kù)大爆料-【每周四晚8點(diǎn)】,【微信群直播】,可以聯(lián)系咨詢老師進(jìn)群參與
-------------------------------------------------------
21.choose the best answer
View the Exhibit and examine the description of the EMPLOYEES table.
You want to calculate the total remuneration for each employee. Total remuneration is the sum of the annual salary and the percentage commission earned for a year.
Only a few employees earn commission.
Which SQL statement would you execute to get the desired output?
A) SELECT first_name, salary, salary*12 + NVL(salary, 0)*commission_pct "Total"
FROM EMPLOYEES;
B) SELECT first_name, salary, salary*12+(salary*NVL2(commission_pct,
salary,salary+commission_pct)) "Total"
FROM EMPLOYEES;
C) SELECT first_name, salary, (salary + NVL(commission_pct,0)*salary)*12 "Total"
FROM EMPLOYEES;
D) SELECT first_name, salary, salary*12+salary*commission_pct "Total"
FROM EMPLOYEES;
Answer:A
(解析:題眼是“Only a few employees earn commission”,說(shuō)明有人的傭金是 null,所
以要用 nvl 函數(shù))
- 冉乃綱-老師CUUG金牌講師
- 冉老師 CUUG金牌講師 Oracle及RedHat高級(jí)講師、Unix/Linux 資深專(zhuān)家...[詳細(xì)了解老師]

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