De opdracht: Write an SQL statement to display the SKU, SKU_Description and WarehouseID for prodcuts that have a QuantityOnHand greater than 0. Sort the results in descending order by WarehouseID and in ascending order by SKU.
Ik heb tot nu toe dit, maar ik denk niet dat ik achter DESC er dit moet komen te staan: , SKU ASC
SELECT SKU, SKU_Description, WarehouseID
FROM INVENTORY
WHERE QuantityOnHand > 0
ORDER BY WarehouseID DESC
Kan iemand mij een duwtje de goede weg op geven? :)
Hartelijk bedankt alvast!