What is the earliest year where the result of the election was a retired republican hold?
CREATE TABLE table_1341472_40 (first_elected INTEGER, result VARCHAR)
SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341472_40 (first_elected INTEGER, result VARCHAR) Question: What is the earliest year where the result of the election was a retired republican hold? [/INST] SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold" </s>