Table: senior_pga_tour_stats_2
Columns: rank
player
country
earnings
wins

Question: Tell me the sum of earnings for rank less than 1
SQL: SELECT SUM("earnings") FROM senior_pga_tour_stats_2 WHERE "rank" < 1

Question: Tell me the sum of rank with wins of 17
SQL: SELECT SUM("rank") FROM senior_pga_tour_stats_2 WHERE "wins" = 17