What is the sum for gold when there is more than 17 silver and more than 24 bronze?
CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR) Question: What is the sum for gold when there is more than 17 silver and more than 24 bronze? [/INST] SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24 </s>