What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze?
CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR)
SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (rank INTEGER, bronze VARCHAR, total VARCHAR) Question: What is the lowest rank for Spain when more than 10 medals were won, 3 of which were bronze? [/INST] SELECT MIN(rank) FROM table_name_3 WHERE bronze = 3 AND total > 10 </s>