CREATE TABLE "replays" (
  "tie_no" real,
  "home_team" text,
  "score_1" text,
  "away_team" text,
  "attendance" real,
  "date" text
);

Question: Who was the home team when the away team was fulham?
SQL: SELECT "home_team" FROM "replays" WHERE "away_team"='Fulham';

Question: What was the attendance of the game where Stoke city was the away team?
SQL: SELECT MIN("attendance") FROM "replays" WHERE "away_team"='Stoke City';

Question: When the away team is Millwall, what is the total possible amount of tie numbers?
SQL: SELECT COUNT("tie_no") FROM "replays" WHERE "away_team"='Millwall';

Question: What is the date of the game played with Birmingham City as the away team?
SQL: SELECT "date" FROM "replays" WHERE "away_team"='Birmingham City';