Which two queries would give the required result?

View the Exhibit and examine the structure of the PROMOTIONS table.
Using the PROMOTIONS table, you need to find out the names and cost of all the promos done on ‘TV’ and ‘internet’ that ended in the time interval 15th March ’00 to 15th October ’00.
Which two queries would give the required result? (Choose two.)


A. SELECT promo_name, promo_costFROM promotionsWHERE promo_category IN (‘TV’, ‘internet’) ANDpromo_end_date BETWEEN ’15-MAR-00′ AND ’15-OCT-00′;
B. SELECT promo_name, promo_costFROM promotionsWHERE promo_category = ‘TV’ OR promo_category =’internet’ AND promo_end_date >=’15- MAR-00′ OR promo_end_date <=’15-OCT-00′;
C. SELECT promo_name, promo_costFROM promotionsWHERE (promo_category BETWEEN ‘TV’ AND ‘internet’) AND(promo_end_date IN (’15- MAR-00′,’15-OCT-00′));
D. SELECT promo_name, promo_costFROM promotionsWHERE (promo_category = ‘TV’ OR promo_category =’internet’) AND (promo_end_date >=’15-MAR-00′ AND promo_end_date <=’15-OCT-00′);

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.