What is the first party for Lord John Hay earlier than 1857?
CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)
SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR) Question: What is the first party for Lord John Hay earlier than 1857? [/INST] SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay" </s>