Based upon the contents of the BOOK_ORDER table shown below, which of the follow
ID: 3645767 • Letter: B
Question
Based upon the contents of the BOOK_ORDER table shown below, which of the following SQL statements will display the number of days between the date an order was placed and the date it was shipped? (Points : 4)SELECT order#, TO_CHAR(shipdate-orderdate, '99') FROM book_order
WHERE shipdate IS NOT NULL;
SELECT order#, MONTHS_BETWEEN(shipdate-orderdate, '99') FROM book_order
WHERE shipdate IS NOT NULL;
SELECT order#, ADD_MONTHS(shipdate-orderdate, '99') FROM book_order
WHERE shipdate IS NOT NULL;
SELECT order#, DAYS_BETWEEN(shipdate-orderdate, '99') FROM book_order
WHERE shipdate IS NOT NULL;
Explanation / Answer
SELECT order#, ADD_MONTHS(shipdate-orderdate, '99') FROM book_order WHERE shipdate IS NOT NULL
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.