Multiple Choice
Contents of ORDERS table
Note: Column names are truncated as follows: SH = SHIPSTATE and SHIPZ = SHIPZIP.
-Based upon the contents of the ORDERS table,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?
A) SELECT order#,TO_CHAR(shipdate-orderdate,'99') FROM orders
WHERE shipdate IS NOT NULL;
B) SELECT order#,MONTHS_BETWEEN(shipdate-orderdate,'99') FROM orders
WHERE shipdate IS NOT NULL;
C) SELECT order#,ADD_MONTHS(shipdate-orderdate,'99') FROM orders
WHERE shipdate IS NOT NULL;
D) SELECT order#,DAYS_BETWEEN(shipdate-orderdate,'99') FROM orders
WHERE shipdate IS NOT NULL;
Correct Answer:

Verified
Correct Answer:
Verified
Q36: The _ function is used to replace
Q37: The LOWER function can be used to
Q38: The NEXT_DAY function is used to determine
Q39: The CONCAT function is used to store
Q40: A Julian date is the number of
Q42: The _ function converts character strings to
Q43: Which of the following is used to
Q44: Character functions can be used to change
Q45: Which of the following functions is used
Q46: Single-row functions return one row of results