You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)
system
What was the year Elected of Republican Incumbent Dave Reichert?
user
SELECT elected FROM table_name_31 WHERE party = "republican" AND incumbent = "dave reichert"
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)<|im_end|>
<|im_start|>user
What was the year Elected of Republican Incumbent Dave Reichert?<|im_end|>
