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'
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE captain (name VARCHAR, rank VARCHAR) Question: Find the name of captains whose rank are either Midshipman or Lieutenant. [/INST] SELECT name FROM captain WHERE rank = 'Midshipman' OR rank = 'Lieutenant' </s>