Solved

​Contents of ORDERS Table

Question 118

Multiple Choice

​Contents of ORDERS table
​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; 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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents