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_1341453_34 (party VARCHAR, results VARCHAR)
system
How many elections have resulted in retired democratic hold?
user
SELECT COUNT(party) FROM table_1341453_34 WHERE results = "Retired Democratic hold"
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_1341453_34 (party VARCHAR, results VARCHAR)<|im_end|>
<|im_start|>user
How many elections have resulted in retired democratic hold?<|im_end|>
