what are the names and classes of the ships that do not have any captain yet?
CREATE TABLE ship (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR); CREATE TABLE captain (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR)
[SQL] SELECT name, CLASS FROM ship WHERE NOT ship_id IN (SELECT ship_id FROM captain) [/SQL]