Context: CREATE TABLE table_name_86 (earnings___ INTEGER, wins VARCHAR, rank VARCHAR)
Question: What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
Answer: SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 2