What is the sum of bronzes for teams with more than 2 gold, ranked under 3, and less than 22 silver?
CREATE TABLE table_name_82 (bronze INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_82 WHERE gold > 2 AND rank < 3 AND silver < 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (bronze INTEGER, silver VARCHAR, gold VARCHAR, rank VARCHAR) Question: What is the sum of bronzes for teams with more than 2 gold, ranked under 3, and less than 22 silver? [/INST] SELECT SUM(bronze) FROM table_name_82 WHERE gold > 2 AND rank < 3 AND silver < 22 </s>