Context: CREATE TABLE pets (pettype VARCHAR, weight INTEGER)
Question: Find the average weight for each pet type.
Answer: SELECT AVG(weight), pettype FROM pets GROUP BY pettype