


-- SQL3
-- ORDER By non index columns
-- VE 

SELECT 	L_ORDERKEY, L_PARTKEY, L_SUPPKEY, L_LINENUMBER, L_QUANTITY, L_EXTENDEDPRICE, L_DISCOUNT, L_TAX, L_RETURNFLAG, L_LINESTATUS, 

	L_SHIPDATE, L_COMMITDATE, L_RECEIPTDATE, L_SHIPINSTRUCT, L_SHIPMODE, L_COMMENT 
	from lineitem
	ORDER BY L_SHIPDATE, L_COMMITDATE, L_EXTENDEDPRICE, L_DISCOUNT;


COMMIT WORK;