What is the sum of the earnings for rank 3?
CREATE TABLE table_name_39 (earnings__ INTEGER, rank VARCHAR)
SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (earnings__ INTEGER, rank VARCHAR) Question: What is the sum of the earnings for rank 3? [/INST] SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3 </s>