CREATE TABLE ship (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR)
CREATE TABLE captain (name VARCHAR, CLASS VARCHAR, ship_id VARCHAR)

what are the names and classes of the ships that do not have any captain yet?
SELECT name, CLASS FROM ship WHERE NOT ship_id IN (SELECT ship_id FROM captain)
SELECT "name", "CLASS" FROM "ship" WHERE NOT "ship_id" IN (SELECT "ship_id" FROM "captain")