How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, rank VARCHAR, silver VARCHAR) Question: How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3? [/INST] SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 3 </s>