How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987?
CREATE TABLE table_name_37 (pts INTEGER, engine VARCHAR, year VARCHAR)
SELECT SUM(pts) FROM table_name_37 WHERE engine = "ferrari tipo 033 v6 tc" AND year > 1987
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (pts INTEGER, engine VARCHAR, year VARCHAR) Question: How many points have an Engine of ferrari tipo 033 v6 tc, and a Year larger than 1987? [/INST] SELECT SUM(pts) FROM table_name_37 WHERE engine = "ferrari tipo 033 v6 tc" AND year > 1987 </s>