Which ranks of captains are in the Cutter class?
select distinct rank from captain where class = 'Cutter'
How about Armed schooner?
select rank from captain where class = 'Armed schooner'
Intersect those.
select rank from captain where class = 'Cutter' intersect select rank from captain where class = 'Armed schooner'