What is the average Year when there was a cosworth straight-4 engine, and the Entrant was ron harris / team lotus?
CREATE TABLE table_name_17 (year INTEGER, engine VARCHAR, entrant VARCHAR)
SELECT AVG(year) FROM table_name_17 WHERE engine = "cosworth straight-4" AND entrant = "ron harris / team lotus"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (year INTEGER, engine VARCHAR, entrant VARCHAR) Question: What is the average Year when there was a cosworth straight-4 engine, and the Entrant was ron harris / team lotus? [/INST] SELECT AVG(year) FROM table_name_17 WHERE engine = "cosworth straight-4" AND entrant = "ron harris / team lotus" </s>