How many golds have 3 as the rank, with a total greater than 7?
CREATE TABLE table_name_17 (gold VARCHAR, rank VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_17 WHERE rank = "3" AND total > 7
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (gold VARCHAR, rank VARCHAR, total VARCHAR) Question: How many golds have 3 as the rank, with a total greater than 7? [/INST] SELECT COUNT(gold) FROM table_name_17 WHERE rank = "3" AND total > 7 </s>