What year was the building completed that has 10 floors?
CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR)
SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR) Question: What year was the building completed that has 10 floors? [/INST] SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10 </s>