What is the earliest year with points more than 8?
CREATE TABLE table_name_38 (year INTEGER, pts INTEGER)
SELECT MIN(year) FROM table_name_38 WHERE pts > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (year INTEGER, pts INTEGER) Question: What is the earliest year with points more than 8? [/INST] SELECT MIN(year) FROM table_name_38 WHERE pts > 8 </s>