Oracle
1Z0-061 · Question #295
1Z0-061 Question #295: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-061 to reveal the answer and full explanation for question #295. The question stem and answer options stay visible for context.
Question
Examine the structure of the PROMOS table: You want to display the list of promo names with the message 'Same Day' for promos that started and ended on the same day. Which query gives the correct output?
Exhibit
Options
- ASELECT promo_name, NVL(NULLIF(promo_start_date, promo_end_date), 'Same Day') FROM
- BSELECT promo_name, NVL(TRUNC(promo_end_date - promo_start_date), 'Same Day') FROM
- CSELECT promo_name, NVL2(TO_CHAR(TRUNC(promo_end_date-promo_start_date)), NULL,
- DSELECT promo_name, DECODE((NULLIF(promo_start_date, promo_end_date)), NULL, 'Same
Unlock 1Z0-061 to see the answer
You've previewed enough free 1Z0-061 questions. Unlock 1Z0-061 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
