How many total Gold medals did the nation ranked #3 receive?
CREATE TABLE table_name_22 (gold INTEGER, rank VARCHAR)
SELECT SUM(gold) FROM table_name_22 WHERE rank = "3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (gold INTEGER, rank VARCHAR) Question: How many total Gold medals did the nation ranked #3 receive? [/INST] SELECT SUM(gold) FROM table_name_22 WHERE rank = "3" </s>