How many years had budgets of $39 million?
CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR)
SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) Question: How many years had budgets of $39 million? [/INST] SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" </s>