Encontre o posto de capitão que tenha capitães nas classes de goleta e de goleta.
CREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)
SELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'