What year did the King team have fewer than 10 points?
CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (year INTEGER, team VARCHAR, points VARCHAR) Question: What year did the King team have fewer than 10 points? [/INST] SELECT AVG(year) FROM table_name_66 WHERE team = "king" AND points < 10 </s>