With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total?
CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_23 (total INTEGER, bronze VARCHAR, rank VARCHAR, silver VARCHAR) Question: With a greater than 4 rank, and the silver medal greater than 0, and the bronze medal less than 1, what is the average total? [/INST] SELECT AVG(total) FROM table_name_23 WHERE rank > 4 AND silver > 0 AND bronze < 1 </s>