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 é o uso total de água por mês no último ano?
 ###Tabelas: 
CREATE TABLE date (date_id INT, date DATE); INSERT INTO date (date_id, date) VALUES (1, '2022-01-01'), (2, '2022-02-01'), (3, '2022-03-01'), (4, '2022-04-01'), (5, '2022-05-01'), (6, '2022-06-01'), (7, '2022-07-01'), (8, '2022-08-01'), (9, '2022-09-01'), (10, '2022-10-01'), (11, '2022-11-01'), (12, '2022-12-01'); CREATE TABLE water_usage (usage_id INT, date_id INT, water_usage_m3 FLOAT); INSERT INTO water_usage (usage_id, date_id, water_usage_m3) VALUES (1, 1, 1000), (2, 1, 1200), (3, 2, 1500), (4, 2, 1800), (5, 3, 2000), (6, 3, 2200), (7, 4, 1500), (8, 4, 1700), (9, 5, 1200), (10, 5, 1400), (11, 6, 1000), (12, 6, 1100), (13, 7, 1500), (14, 7, 1800), (15, 8, 2000), (16, 8, 2200), (17, 9, 1500), (18, 9, 1700), (19, 10, 1200), (20, 10, 1400), (21, 11, 1000), (22, 11, 1100), (23, 12, 1500), (24, 12, 1800);
SELECT EXTRACT(MONTH FROM d.date) as month, AVG(w.water_usage_m3) as avg_water_usage_m3 FROM water_usage w JOIN date d ON w.date_id = d.date_id WHERE d.date BETWEEN '2021-01-01' AND '2022-12-31' GROUP BY EXTRACT(MONTH FROM d.date);