Database: pets_1
Question: What is the average and maximum age for each pet type?
SQL:
SELECT avg(pet_age) ,  max(pet_age) ,  pettype FROM pets GROUP BY pettype