Question: which object numbers do have trains?
SQL: SELECT ObjectNumber FROM railway WHERE Railway_ID IN  ( SELECT Railway_ID FROM train )