user: Question: What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
Columns: ['Rank', 'Player', 'Country', 'Earnings ( $ )', 'Wins']
Types: ['real', 'text', 'text', 'real', 'real']
Sample row: [1.0, 'Jack Nicklaus', 'United States', 4520823.0, 72.0]
SQL:

assistant: SELECT MIN("Earnings ( $ )") FROM "Table" WHERE "Wins" > 18.0 AND "Rank" = 2.0;