CREATE TABLE "pre_season_and_friendlies" (
  "date" text,
  "opponents" text,
  "h_a" text,
  "result_f_a" text,
  "attendance" real
);

Question: When did Manchester United play against Bristol City with an H/A of A?
SQL: SELECT "date" FROM "pre_season_and_friendlies" WHERE "h_a"='a' AND "opponents"='bristol city';

Question: How many people attended the match when Manchester United played against the Hearts?
SQL: SELECT SUM("attendance") FROM "pre_season_and_friendlies" WHERE "opponents"='hearts';