What is the average and maximum age for each pet type?
SELECT avg(pet_age) ,  max(pet_age) ,  pettype FROM pets GROUP BY pettype
SELECT avg(pet_age) ,  max(pet_age) ,  pettype FROM pets GROUP BY pettype
[{'avg(pet_age)': 3.0, 'max(pet_age)': 3, 'PetType': 'cat'}, {'avg(pet_age)': 1.5, 'max(pet_age)': 2, 'PetType': 'dog'}]