How many years did John Player Lotus used Cosworth v8?
CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR)
SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (year INTEGER, engine VARCHAR, entrant VARCHAR) Question: How many years did John Player Lotus used Cosworth v8? [/INST] SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus" </s>