How many bronzes for nations with over 22 golds and ranked under 2?
CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 22 AND rank < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, rank VARCHAR) Question: How many bronzes for nations with over 22 golds and ranked under 2? [/INST] SELECT MAX(bronze) FROM table_name_66 WHERE gold > 22 AND rank < 2 </s>