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