Task: Text to Code
Input (English): SQL: SELECT supplier_id FROM Product_Suppliers GROUP BY product_id HAVING Avg ( total_value_purchased ) > 50000
Feedback: Replace total value purchased with total amount purchased , corresponding step 1 value should be greater than 50000 or less than 30000.
Output (English): SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING avg(total_amount_purchased)  >  50000 OR avg(total_amount_purchased)  <  30000