ocp 11g認證題庫詳解:1Z0-051-061題
最新學(xué)訊:近期OCP認證正在報名中,因考試人員較多請盡快報名獲取最近考試時間,報名費用請聯(lián)系在線老師,甲骨文官方認證,報名從速!
我要咨詢ocp 11g認證題庫詳解:1Z0-051-061題,完整題庫請點擊這里聯(lián)系老師咨詢了解
61. View the Exhibit and examine the structure of the PROMOTIONS table.
You need to generate a report of all promos from the PROMOTIONS table based on the following
conditions:
1. The promo name should not begin with 'T' or 'N'.
2. The promo should cost more than $20000. >20000
3. The promo should have ended after 1st January 2001.
Which WHERE clause would give the required result?

A. WHERE promo_name NOT LIKE 'T%' OR promo_name NOT LIKE 'N%' AND promo_cost > 20000
AND promo_end_date > '1-JAN-01'
B. WHERE (promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%')OR promo_cost > 20000
OR promo_end_date > '1-JAN-01'
C. WHERE promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%' AND promo_cost > 20000
AND promo_end_date > '1-JAN-01'
D. WHERE (promo_name NOT LIKE '%T%' OR promo_name NOT LIKE '%N%') AND(promo_cost >
20000 AND promo_end_date > '1-JAN-01')
Answer: C
試題解析:
因為三個條件是并行的,即要求都滿足條件,所以都應(yīng)該使用AND連接符。
A,promo_name NOT LIKE 'T%' OR promo_name NOT LIKE 'N%',OR 應(yīng)改為AND
B,兩個OR應(yīng)該改為AND
C正確
D第一個OR應(yīng)該改為AND
- 陳衛(wèi)星-老師CUUG金牌講師
- 陳老師 CUUG金牌講師 精通Oracle管理、備份恢復(fù)、性能優(yōu)化 11年Ora...[詳細了解老師]
