What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) Question: What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? [/INST] SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6" </s>