CREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR)
CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)

List the object number of railways that do not have any trains.
SELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)
SELECT "ObjectNumber" FROM "railway" WHERE NOT "Railway_ID" IN (SELECT "Railway_ID" FROM "train")