How many silver medals when the bronze is more than 2 and having a rank more than 5?
CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (silver INTEGER, rank VARCHAR, bronze VARCHAR) Question: How many silver medals when the bronze is more than 2 and having a rank more than 5? [/INST] SELECT MAX(silver) FROM table_name_89 WHERE rank > 5 AND bronze > 2 </s>