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 captain (CLASS VARCHAR)
  ### Question:
  Which classes have more than two captains?
  ### Answer:
  SELECT CLASS FROM captain GROUP BY CLASS HAVING COUNT(*) > 2