CREATE TABLE table_name_39 (earnings__ INT, rank VARCHAR)

What is the sum of the earnings for rank 3?
SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3
SELECT SUM("earnings__") AS $__ FROM "table_name_39" WHERE "rank" = 3