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