Table: football_stats_27
Columns: player
county
tally
total
matches
average

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

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