With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?
CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, total VARCHAR) Question: With 8 as the rank, and a total of more than 2 medals what is the average bronze medals? [/INST] SELECT AVG(bronze) FROM table_name_34 WHERE rank = "8" AND total > 2 </s>