Show the names of trains and locations of railways they are in.
create table railway (location varchar, railway_id varchar, PRIMARY KEY (location)); create table train (name varchar, railway_id varchar, PRIMARY KEY (name))
select t2.name, t1.location from railway as t1 join train as t2 on t1.railway_id = t2.railway_id