When is the earliest year that there's a judd engine?
CREATE TABLE table_name_40 (year INTEGER, engine VARCHAR)
SELECT MIN(year) FROM table_name_40 WHERE engine = "judd"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (year INTEGER, engine VARCHAR) Question: When is the earliest year that there's a judd engine? [/INST] SELECT MIN(year) FROM table_name_40 WHERE engine = "judd" </s>