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

Question: What is the total attendance when Stourbridge is the home team?
SQL: SELECT COUNT("attendance") FROM "ties" WHERE "home_team"='stourbridge';

Question: What is the score when the attendance is greater than 134 and Workington is the home team?
SQL: SELECT "score" FROM "ties" WHERE "attendance">134 AND "home_team"='workington';