Multiple Choice
Which query 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
Q22: A table can be deleted from the
Q27: Using the command, SQL indexes can be
Q47: Any changes made to the contents of
Q50: SQL is considered difficult to learn; its
Q57: You cannot insert a row containing a
Q66: The conditional LIKE must be used in
Q70: Most SQL implementations yield case-insensitive searches.
Q75: A common practice is to create a(n)_
Q76: The SQL aggregate function that gives the
Q80: Which query will output the table contents