user: ### NOW ANSWER:
Question: When the united states has 22 wins and a rank greater than 2, what is the total earnings?
Columns: ['Rank', 'Player', 'Country', 'Earnings( $ )', 'Wins']
Types: ['real', 'text', 'text', 'real', 'real']
Sample row: [1.0, 'Bob Charles', 'New Zealand', 4689368.0, 21.0]
SQL:

assistant: SELECT SUM("Earnings( $ )") FROM "Table" WHERE "Country" = 'united states' AND "Wins" = 22.0 AND "Rank" > 2.0;