CREATE TABLE "first_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "date" text
);

Question: What date was the away team Morecambe?
SQL: SELECT "date" FROM "first_round_proper" WHERE "away_team"='morecambe';

Question: What team was the away team when the home team was Grimsby Town?
SQL: SELECT "away_team" FROM "first_round_proper" WHERE "home_team"='grimsby town';

Question: What team was the away team when the home team was Hereford United?
SQL: SELECT "away_team" FROM "first_round_proper" WHERE "home_team"='hereford united';

Question: What team was the away team when the tie no is 40?
SQL: SELECT "away_team" FROM "first_round_proper" WHERE "tie_no"='40';