SCHEMA:
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)
USER:
Find the captain rank that has some captains in both Cutter and Armed schooner classes.

QUERY:
SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'