What is the lowest First Elected, when District is "Massachusetts 10"?
CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR)
SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (first_elected INTEGER, district VARCHAR) Question: What is the lowest First Elected, when District is "Massachusetts 10"? [/INST] SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10" </s>