What is the highest Silver, when Gold is "8", and when Total is greater than 31?
CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR)
SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR) Question: What is the highest Silver, when Gold is "8", and when Total is greater than 31? [/INST] SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31 </s>