Which player was from Fermanagh and had an average score of 22?
CREATE TABLE "top_scorers" (
  "player" text,
  "county" text,
  "tally" text,
  "total" real,
  "matches" real,
  "average" real
);
SELECT AVG("average") FROM "top_scorers" WHERE "total"=22 AND "county"='fermanagh';