text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### 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