Task: Text to Code
Input (English): SQL: SELECT Min ( Order_Quantity ) , Max ( Order_Quantity ) , Avg ( Order_Quantity ) FROM Invoice_Items
Feedback: invoice items table is wrong . Take invoices table in place of it .
Output (English): SELECT min(Order_Quantity) ,  avg(Order_Quantity) ,  max(Order_Quantity) FROM INVOICES