Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_39 (earnings__ INTEGER, rank VARCHAR)
### Question:
What is the sum of the earnings for rank 3?
### Answer:
SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3