SELECT max(weight) ,  petType FROM pets GROUP BY petType
List the maximum weight and type for each type of pet.
SELECT max ( weight ) , petType FROM pets GROUP BY petType
select max ( weight ) , pettype from pets group by pettype
List the maximum weight and type for each type of pet .