what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5?
CREATE TABLE table_name_77 (Id VARCHAR)
SELECT AVG(2005) FROM table_name_77 WHERE 1995 > 3 AND 1996 < 4 AND 2011 > 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (Id VARCHAR) Question: what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5? [/INST] SELECT AVG(2005) FROM table_name_77 WHERE 1995 > 3 AND 1996 < 4 AND 2011 > 5 </s>