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