Which 1st Party has an Election of 1849 by-election?
CREATE TABLE table_name_42 (election VARCHAR)
SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (election VARCHAR) Question: Which 1st Party has an Election of 1849 by-election? [/INST] SELECT 1 AS st_party FROM table_name_42 WHERE election = "1849 by-election" </s>