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

Question: What the H/A when the opponent is the Bohemians?
SQL: SELECT "h_a" FROM "pre_season_and_friendlies" WHERE "opponents"='bohemians';

Question: What is the attendance when Cork City is the opponent?
SQL: SELECT AVG("attendance") FROM "pre_season_and_friendlies" WHERE "opponents"='cork city';

Question: What is the H/A when Cork City is the opponent?
SQL: SELECT "h_a" FROM "pre_season_and_friendlies" WHERE "opponents"='cork city';

Question: What is the H/A on 5 August 1990?
SQL: SELECT "h_a" FROM "pre_season_and_friendlies" WHERE "date"='5 august 1990';

Question: What is the result F-A on 5 August 1990?
SQL: SELECT "result_f_a" FROM "pre_season_and_friendlies" WHERE "date"='5 august 1990';