SELECT name ,  flag FROM ship WHERE ship_id NOT IN (SELECT ship_id FROM captain WHERE rank  =  'Midshipman')
Find the name and flag of ships that are not steered by any captain with Midshipman rank.
SELECT name , flag FROM ship WHERE ship_id NOT IN ( SELECT ship_id FROM captain WHERE rank = 'Midshipman ' )
select name , flag from ship where ship_id not in ( select ship_id from captain where rank = value )
Find the name and flag of ships that are not steered by any captain with Midshipman rank .