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
[{'max(weight)': 12.0, 'PetType': 'cat'}, {'max(weight)': 13.4, 'PetType': 'dog'}]