Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### 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