nerdexam
Oracle

1Z0-061 · Question #37

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…

The correct answer is C. WHERE promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%' AND promo_cost > 20000 AND promo_. See the full explanation below for the reasoning.

Question

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. 3. The promo should have ended after 1st January 2001. Which where clause would give the required result?

Exhibit

1Z0-061 question #37 exhibit

Options

  • AWHERE promo_name NOT LIKE 'T%' OR promo_name NOT LIKE 'N%' AND promo_cost > 20000 AND promo_e
  • BWHERE (promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%')OR promo_cost > 20000 OR promo_en
  • CWHERE promo_name NOT LIKE 'T%' AND promo_name NOT LIKE 'N%' AND promo_cost > 20000 AND promo_
  • DWHERE (promo_name NOT LIKE '%T%' OR promo_name NOT LIKE '%N%') AND(promo_cost > 20000 AND pro

How the community answered

(29 responses)
  • A
    17% (5)
  • B
    10% (3)
  • C
    69% (20)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice