What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, total VARCHAR)
SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, total VARCHAR) Question: What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals? [/INST] SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6 </s>