Question: Which command uses columns and column aliases to determine the total value of each of the products held on hand and display the results in

Which command uses columns and column aliases to determine the total value of each of the products held on hand and display the results in a column labeled TOTVALUE?
Which command uses columns and column aliases to determine the total value of each of the products held on hand and display the results in a column labeled TOTVALUE?
SELECT P_DESCRIPT, P_QOH, P_PRICE,P_QuantityOnHand=P_PRICE AS TOTVALUE
FROM PRODUCT;
SELECT P_DESCRIPT, P_QOH, P_PRICE,P_QuantityOnHand/P_PRICE AS TOTVALUE
FROM PRODUCT;
SELECT P_DESCRIPT, P_QOH, P_PRICE,P_QuantityOnHand-P_PRICE AS TOTVALUE
FROM PRODUCT;
SELECT P_DESCRIPT, P_QOH, P_PRICE,P_QuantityOnHand*P_PRICE AS TOTVALUE
FROM PRODUCT;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!