Which Total has a Rank of 4, and a Silver smaller than 4?
CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_36 WHERE rank = "4" AND silver < 4
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR) Question: Which Total has a Rank of 4, and a Silver smaller than 4? [/INST] SELECT AVG(total) FROM table_name_36 WHERE rank = "4" AND silver < 4 </s>