CREATE TABLE "top_scorers" (
  "player" text,
  "county" text,
  "tally" text,
  "total" real,
  "matches" real,
  "average" real
);

Question: Which player was from Fermanagh and had an average score of 22?
SQL: SELECT AVG("average") FROM "top_scorers" WHERE "total"=22 AND "county"='fermanagh';

Question: How many total points did Oisin McConville have from his 5 matches?
SQL: SELECT COUNT("total") FROM "top_scorers" WHERE "player"='oisin mcconville' AND "matches"<5;