Database: pets_1
Question: What are the average and maximum age for each pet type?
SQL: select avg(pet_age) ,  max(pet_age) ,  pettype from pets group by pettype