/* *** CS1-2.17 *** */
SELECT SKU, SKU_Description
	FROM INVENTORY
	;
	
/* *** CS1-2.18 *** */
SELECT SKU_Description, SKU
	FROM INVENTORY
	;

/* *** CS1-2.19 *** */
SELECT WarehouseID
	FROM INVENTORY
	;

/* *** CS1-2.20 *** */
SELECT DISTINCT WarehouseID
	FROM INVENTORY
	;

/* *** CS1-2.21 *** */
SELECT WarehouseID, SKU, SKU_Description, QuantityOnHand, QuantityOnOrder
	FROM INVENTORY
	;

/* *** CS1-2.22 *** */
SELECT * 
	FROM INVENTORY
	;

/* *** CS1-2.23 *** */
SELECT *
	FROM INVENTORY
		WHERE QuantityOnHand > 0
		;

/* *** CS1-2.24 *** */
SELECT SKU, SKU_Description
	FROM INVENTORY
		WHERE QuantityOnHand = 0
		;

/* *** CS1-2.25 *** */
SELECT SKU, SKU_Description, WarehouseID
	FROM INVENTORY
		WHERE QuantityOnHand = 0
			ORDER BY WarehouseID ASC 
			;

/* *** CS1-2.26 *** */
SELECT SKU, SKU_Description, WarehouseID
	FROM INVENTORY
		WHERE QuantityOnHand > 0
			ORDER BY WarehouseID DESC, SKU ASC
			;

/* *** CS1-2.27 *** */
SELECT SKU, SKU_Description, WarehouseID
	FROM INVENTORY
		WHERE QuantityOnHand = 0 AND QuantityOnOrder > 0
			ORDER BY WarehouseID DESC, SKU ASC 
			;

/* *** CS1-2.28 *** */
SELECT SKU, SKU_Description, WarehouseID
	FROM INVENTORY
		WHERE QuantityOnHand = 0 OR QuantityOnOrder = 0
			ORDER BY WarehouseID DESC, SKU ASC 
			;

/* *** CS1-2.29 *** */
SELECT SKU, SKU_Description, WarehouseID, QuantityOnHand 
	FROM INVENTORY
		WHERE QuantityOnHand > 1 AND QuantityOnHand < 10
		;

/* *** CS1-2.30 *** */
SELECT SKU, SKU_Description, WarehouseID, QuantityOnHand
	FROM INVENTORY
		WHERE QuantityOnHand BETWEEN 2 AND 9
		;

/* *** CS1-2.31 *** */
SELECT DISTINCT SKU, SKU_Description
	FROM INVENTORY
		WHERE SKU_Description LIKE 'Half-Dome%'
		;

/* *** CS1-2.32 *** */
SELECT DISTINCT SKU, SKU_Description
	FROM INVENTORY
		WHERE SKU_Description LIKE '%Climb%'
		;

/* *** CS1-2.33 *** */
SELECT DISTINCT SKU, SKU_Description
	FROM INVENTORY
		WHERE SKU_Description LIKE '__d%'
		;


