Who was the first elected for the republican party?
CREATE TABLE table_name_82 (first_elected VARCHAR, party VARCHAR)
SELECT first_elected FROM table_name_82 WHERE party = "republican"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (first_elected VARCHAR, party VARCHAR) Question: Who was the first elected for the republican party? [/INST] SELECT first_elected FROM table_name_82 WHERE party = "republican" </s>