What is the average Total, when the Nation is Sweden, and when the value for Bronze is less than 3?
CREATE TABLE table_name_52 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_52 WHERE nation = "sweden" AND bronze < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (total INTEGER, nation VARCHAR, bronze VARCHAR) Question: What is the average Total, when the Nation is Sweden, and when the value for Bronze is less than 3? [/INST] SELECT AVG(total) FROM table_name_52 WHERE nation = "sweden" AND bronze < 3 </s>