What is the sum of golds for ranks of 6 and totals over 3?
CREATE TABLE table_name_36 (gold INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (gold INTEGER, rank VARCHAR, total VARCHAR) Question: What is the sum of golds for ranks of 6 and totals over 3? [/INST] SELECT SUM(gold) FROM table_name_36 WHERE rank = "6" AND total > 3 </s>