Table: hurling_stats_2
Columns: rank
player
county
tally
total
matches
average

Question: what is the rank when the player is henry shefflin and the matches is higher than 4?
SQL: SELECT SUM("rank") FROM hurling_stats_2 WHERE "player" = 'henry shefflin' AND "matches" > 4

Question: what is the rank when the total is 39 in the county of dublin and the matches is less than 4?
SQL: SELECT AVG("rank") FROM hurling_stats_2 WHERE "total" = 39 AND "county" = 'dublin' AND "matches" < 4