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_88 (democrat VARCHAR, lead_margin VARCHAR)
system
What is Democrat: Carl Levin, when Lead Margin is 22?
user
SELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22
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_88 (democrat VARCHAR, lead_margin VARCHAR)<|im_end|>
<|im_start|>user
What is Democrat: Carl Levin, when Lead Margin is 22?<|im_end|>
