Schema: CREATE TABLE captain (CLASS VARCHAR)
Question: Which classes have more than two captains?
SQL: SELECT CLASS FROM captain GROUP BY CLASS HAVING COUNT(*) > 2