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
Q113: Contents of ORDERS table Q114: The _ function fills the area to Q115: The _ function is used to determine Q116: The _ function converts character strings to
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents