What is the earliest Year when the City is Peabody?
CREATE TABLE table_name_2 (year INTEGER, city VARCHAR)
SELECT MIN(year) FROM table_name_2 WHERE city = "peabody"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (year INTEGER, city VARCHAR) Question: What is the earliest Year when the City is Peabody? [/INST] SELECT MIN(year) FROM table_name_2 WHERE city = "peabody" </s>