create table leg (
  line    char(10),
  departs char(20),
  arrives char(20));

create table interchange (
  station char(20),
  line1   char(10),
  line2   char(10));