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'