Abaixo está uma instrução que descreve uma tarefa de geração de SQL, combinada com uma entrada que fornece mais contexto sobre os esquemas de tabela disponíveis. Escreva o código SQL que responda adequadamente à solicitação
 ###Instrução: Error code: 429 - {'error': {'message': 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.', 'type': 'insufficient_quota', 'param': None, 'code': 'insufficient_quota'}}
 ###Tabelas: 
CREATE TABLE Brand_Preferences (brand_id INT, brand TEXT, total_products INT, avg_preference_rating DECIMAL); INSERT INTO Brand_Preferences (brand_id, brand, total_products, avg_preference_rating) VALUES (1, 'EcoPure', 15, 4.7), (2, 'Natural Beauty', 12, 4.3), (3, 'Green Visions', 10, 4.9), (4, 'Pure & Simple', 14, 4.1); CREATE TABLE Product_Sustainability (product_id INT, brand_id INT, carbon_footprint DECIMAL); INSERT INTO Product_Sustainability (product_id, brand_id, carbon_footprint) VALUES (1001, 1, 3.2), (1002, 2, 4.1), (1003, 3, 2.8), (1004, 4, 3.7), (1005, 1, 2.9); CREATE TABLE Product_Reviews (product_id INT, review_count INT); INSERT INTO Product_Reviews (product_id, review_count) VALUES (1001, 45), (1002, 32), (1003, 38), (1004, 29), (1005, 42);
SELECT product_id FROM Product_Sustainability INNER JOIN Brand_Preferences ON Product_Sustainability.brand_id = Brand_Preferences.brand_id INNER JOIN Product_Reviews ON Product_Sustainability.product_id = Product_Reviews.product_id WHERE avg_preference_rating > 4 AND review_count > 30 AND carbon_footprint < 3.5;