Find the captain rank that has some captains in both Cutter and Armed schooner classes.
CREATE TABLE captain (
    captain_id number,
    name text,
    ship_id number,
    age text,
    class text,
    rank text
)

CREATE TABLE ship (
    ship_id number,
    name text,
    type text,
    built_year number,
    class text,
    flag text
)
SELECT rank FROM captain WHERE class = 'Cutter' INTERSECT SELECT rank FROM captain WHERE class = 'Armed schooner'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: Find the captain rank that has some captains in both Cutter and Armed schooner classes. ### Input: CREATE TABLE captain (
    captain_id number,
    name text,
    ship_id number,
    age text,
    class text,
    rank text
)

CREATE TABLE ship (
    ship_id number,
    name text,
    type text,
    built_year number,
    class text,
    flag text
) ### Response: SELECT rank FROM captain WHERE class = 'Cutter' INTERSECT SELECT rank FROM captain WHERE class = 'Armed schooner'