Determine a identificação dos fornecedores cuja quantidade média comprada para cada produto seja superior a 50000 ou inferior a 30000.
CREATE TABLE Product_Suppliers (supplier_id VARCHAR, total_amount_purchased INTEGER)
SELECT supplier_id FROM Product_Suppliers GROUP BY supplier_id HAVING AVG(total_amount_purchased) > 50000 OR AVG(total_amount_purchased) < 30000