CREATE TABLE train (Name VARCHAR2, Railway_ID VARCHAR2)
CREATE TABLE railway (Location VARCHAR2, Railway_ID VARCHAR2)

Show the names of trains and locations of railways they are in.
SELECT T2.Name, T1.Location FROM railway AS T1 JOIN train AS T2 ON T1.Railway_ID = T2.Railway_ID
SELECT "T2"."Name", "T1"."Location" FROM "railway" "T1" JOIN "train" "T2" ON "T1"."Railway_ID" = "T2"."Railway_ID"