What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"?
CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)
SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) Question: What is the highest First Elected, when Results is "Re-elected", and when Incumbent is "Lincoln Davis"? [/INST] SELECT MAX(first_elected) FROM table_name_24 WHERE results = "re-elected" AND incumbent = "lincoln davis" </s>