Which state did Samuel Thatcher of the Federalist party represent?
CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)
SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR) Question: Which state did Samuel Thatcher of the Federalist party represent? [/INST] SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher" </s>