What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals?
CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (total INTEGER, bronze VARCHAR, silver VARCHAR) Question: What is the highest total medals won by a nation that had 7 bronze but more than 12 silver medals? [/INST] SELECT MAX(total) FROM table_name_43 WHERE bronze = 7 AND silver > 12 </s>