Context: CREATE TABLE pets (petType VARCHAR, weight INTEGER)
Question: Find the maximum weight for each type of pet. List the maximum weight and pet type.
Answer: SELECT MAX(weight), petType FROM pets GROUP BY petType