Table: pga_tour_stats_20
Columns: rank
player
country
earnings
events
wins

Question: Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)?
SQL: SELECT MIN("earnings") FROM pga_tour_stats_20 WHERE "events" = 22 AND "rank" < 4

Question: Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)?
SQL: SELECT MAX("earnings") FROM pga_tour_stats_20 WHERE "player" = 'corey pavin' AND "rank" > 4