what is the earliest first elected with the results re-elected in the district south carolina 3?
CREATE TABLE table_1341423_40 (first_elected INTEGER, results VARCHAR, district VARCHAR)
SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = "Re-elected" AND district = "South Carolina 3"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_1341423_40 (first_elected INTEGER, results VARCHAR, district VARCHAR) Question: what is the earliest first elected with the results re-elected in the district south carolina 3? [/INST] SELECT MAX(first_elected) FROM table_1341423_40 WHERE results = "Re-elected" AND district = "South Carolina 3" </s>