What party did the incumbent Thomas P. Moore belong to?
CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR) Question: What party did the incumbent Thomas P. Moore belong to? [/INST] SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore" </s>