Question: Write an SQL statement to display SKU, SKU_Description, and WarehouseID for all products that have a QuantityOnHand equal to 0 and a QuantityOnOrder greater than
Write an SQL statement to display SKU, SKU_Description, and WarehouseID for all products that have a QuantityOnHand equal to 0 and a QuantityOnOrder greater than 0. Sort the results in descending order by WarehouseID and in ascending order by SKU.
Step by Step Solution
3.28 Rating (177 Votes )
There are 3 Steps involved in it
SELECT FROM WHERE AND ORDER BY SKU SKUDescription WarehouseID INVENTORY QuantityOnHand 0 0 ... View full answer
Get step-by-step solutions from verified subject matter experts
