CREATE TABLE "second_round_proper" (
  "tie_no" text,
  "home_team" text,
  "score" text,
  "away_team" text,
  "attendance" text
);

Question: How many ties occurred with a score of 2–2?
SQL: SELECT "tie_no" FROM "second_round_proper" WHERE "score"='2–2';

Question: Who is the home team when Preston North End is the away team?
SQL: SELECT "home_team" FROM "second_round_proper" WHERE "away_team"='preston north end';