Multiple Choice
Which of the following queries will use the given columns and column aliases from the PRODUCT table to determine the total value of inventory held on hand and display the results in a column labeled TOTVALUE?
A) SELECT P_DESCRIPT, P_QOH, P_PRICE, P_QOH*P_PRICE AS TOTVALUE FROM PRODUCT;
B) SELECT P_DESCRIPT, P_QOH, P_PRICE, P_QOH=P_PRICE AS TOTVALUE FROM PRODUCT;
C) SELECT P_DESCRIPT, P_QOH, P_PRICE, P_QOH/P_PRICE AS TOTVALUE FROM PRODUCT;
D) SELECT P_DESCRIPT, P_QOH, P_PRICE, P_QOH-P_PRICE AS TOTVALUE FROM PRODUCT;
Correct Answer:

Verified
Correct Answer:
Verified
Q4: The SQL data type DATE stores date
Q26: The command is used to restore the
Q33: Explain the two SQL functions.
Q35: The query to join the P_DESCRIPT and
Q36: Which of the following queries will output
Q38: The data format for SQL character is
Q39: The SQL aggregate function that gives the
Q47: To delete an index, one must use
Q56: ANSI-standard SQL allows the use of special
Q68: With the exception of the database process,most