What's the smallest amount of earnings when there are more than 18 wins and the rank is 2?
CREATE TABLE table_39496 (
    "Rank" real,
    "Player" text,
    "Country" text,
    "Earnings ( $ )" real,
    "Wins" real
)
SELECT MIN("Earnings ( $ )") FROM table_39496 WHERE "Wins" > '18' AND "Rank" = '2'
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What's the smallest amount of earnings when there are more than 18 wins and the rank is 2? ### Input: CREATE TABLE table_39496 (
    "Rank" real,
    "Player" text,
    "Country" text,
    "Earnings ( $ )" real,
    "Wins" real
) ### Response: SELECT MIN("Earnings ( $ )") FROM table_39496 WHERE "Wins" > '18' AND "Rank" = '2'