CREATE TABLE table_39496 ("Rank" FLOAT, "Player" TEXT, "Country" TEXT, "Earnings  (  $  ) " FLOAT, "Wins" FLOAT)

What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
SELECT MIN("Earnings ( $ )") FROM table_39496 WHERE "Wins" > '18' AND "Rank" = '2'
SELECT MIN("Earnings ( $ )") FROM "table_39496" WHERE "Rank" = '2' AND "Wins" > '18'