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

Question: what is the tie no when the attendance is 126?
SQL: SELECT AVG("tie_no") FROM "ties" WHERE "attendance"=126;

Question: what is the average tie no when the home team is stamford a.f.c.?
SQL: SELECT AVG("tie_no") FROM "ties" WHERE "home_team"='stamford a.f.c.';

Question: what is the score when the tie no is 28?
SQL: SELECT "score" FROM "ties" WHERE "tie_no"=28;