Find the name of captains whose rank are either Midshipman or Lieutenant.
CREATE TABLE captain (name VARCHAR, rank VARCHAR)
SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'
### Context: CREATE TABLE captain (name VARCHAR, rank VARCHAR) ### Question: Find the name of captains whose rank are either Midshipman or Lieutenant. ### Answer: SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant'