Give the classes that have more than two captains.
SELECT CLASS FROM captain GROUP BY CLASS HAVING count(*)  >  2
SELECT CLASS FROM captain GROUP BY CLASS HAVING count(*)  >  2
[{'Class': 'Third-rate ship of the line'}]