What is the sum of Total ranking 9 and a Gold more than 6
CREATE TABLE table_name_74 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_74 (total INTEGER, rank VARCHAR, gold VARCHAR) Question: What is the sum of Total ranking 9 and a Gold more than 6 [/INST] SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6 </s>