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_1341395_22 (candidates VARCHAR, incumbent VARCHAR)
system
Who were the candidates when Barney Frank was the incumbent?
user
SELECT candidates FROM table_1341395_22 WHERE incumbent = "Barney Frank"
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_1341395_22 (candidates VARCHAR, incumbent VARCHAR)<|im_end|>
<|im_start|>user
Who were the candidates when Barney Frank was the incumbent?<|im_end|>
