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_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)
system
Who was the Prato Elector with a faction of Italian?
user
SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato"
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_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)<|im_end|>
<|im_start|>user
Who was the Prato Elector with a faction of Italian?<|im_end|>
