Schema: CREATE TABLE CARS_DATA (YEAR VARCHAR, Weight INTEGER)
Question: What is the average weight of cars each year?
SQL: SELECT AVG(Weight), YEAR FROM CARS_DATA GROUP BY YEAR