Name the total number of years for a 39-31 record
CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR)
SELECT COUNT(year) FROM table_name_18 WHERE record = "39-31"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (year VARCHAR, record VARCHAR) Question: Name the total number of years for a 39-31 record [/INST] SELECT COUNT(year) FROM table_name_18 WHERE record = "39-31" </s>