CREATE TABLE table_name_86 (earnings___ NUMBER, wins VARCHAR2, rank VARCHAR2)

What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
SELECT MIN(earnings___) AS $__ FROM table_name_86 WHERE wins > 18 AND rank = 2
SELECT MIN("earnings___") AS "$__" FROM "table_name_86" WHERE "rank" = 2 AND "wins" > 18