What year was incumbent jim mcdermott first elected?
CREATE TABLE table_1341522_50 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341522_50 (first_elected INTEGER, incumbent VARCHAR) Question: What year was incumbent jim mcdermott first elected? [/INST] SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott" </s>