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

Question: What was the highest Tie no when the home team was the Bolton Wanderers, and the date was Middlesbrough?
SQL: SELECT MAX("tie_no") FROM "fifth_round_proper" WHERE "home_team"='bolton wanderers' AND "date"='middlesbrough';

Question: What is the average Tie no when the date is Birmingham City?
SQL: SELECT AVG("tie_no") FROM "fifth_round_proper" WHERE "date"='birmingham city';

Question: What was the Tie no when then home team was Stoke City for the game played on 9 February 1946?
SQL: SELECT "tie_no" FROM "fifth_round_proper" WHERE "home_team"='stoke city' AND "date"='9 february 1946';