CREATE TABLE table_name_86 (earnings___ INT, wins VARCHAR, rank VARCHAR)

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