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: Qual é a pontuação média de impacto ambiental para empresas na região 'América Latina'?
 ###Tabelas: 
CREATE TABLE impact_assessment (id INT PRIMARY KEY, company_id INT, assessment_date DATE, social_impact_score INT, environmental_impact_score INT); INSERT INTO impact_assessment (id, company_id, assessment_date, social_impact_score, environmental_impact_score) VALUES (1, 1, '2019-12-31', 85, 90); INSERT INTO impact_assessment (id, company_id, assessment_date, social_impact_score, environmental_impact_score) VALUES (2, 2, '2020-01-05', 75, 80); INSERT INTO impact_assessment (id, company_id, assessment_date, social_impact_score, environmental_impact_score) VALUES (3, 3, '2021-03-01', 90, 88); INSERT INTO company (id, name, industry, location, esg_score) VALUES (1, 'EcoPower', 'Renewable Energy', 'Brazil', 82); INSERT INTO company (id, name, industry, location, esg_score) VALUES (2, 'GreenTech', 'Renewable Energy', 'Argentina', 87); INSERT INTO company (id, name, industry, location, esg_score) VALUES (3, 'SolarCo', 'Renewable Energy', 'Chile', 90);
SELECT AVG(ia.environmental_impact_score) AS avg_env_score FROM impact_assessment AS ia JOIN company AS c ON ia.company_id = c.id WHERE c.location LIKE 'Lat%';