Question: 7. Use the UNION operator to generate a result set consisting of three columns from the Products table: Discount_status A calculated column that contains a
7. Use the UNION operator to generate a result set consisting of three columns from the Products table: Discount_status A calculated column that contains a value of DISCOUNTED or FULL PRICE Product_name The product_name column discount_percent The discount_percent column If the product has a discount_percent greater than 0, the Discount_status column should contain a value of DISCOUNTED. Otherwise, it should contain a value of FULL PRICE. Sort the final result set by product_name.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
