Find the average weight for each pet type.
CREATE TABLE pets (pettype VARCHAR, weight INTEGER)
SELECT AVG(weight), pettype FROM pets GROUP BY pettype
### 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