What is the party of the representative that has the smallest number of votes.
CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)
SELECT TOP 1 T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR) Question: What is the party of the representative that has the smallest number of votes. [/INST] SELECT TOP 1 T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes </s>