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_47 (date_to VARCHAR, name VARCHAR)
system
What is Date To, when Name is "Lee Cook"?
user
SELECT date_to FROM table_name_47 WHERE name = "lee cook"
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_47 (date_to VARCHAR, name VARCHAR)<|im_end|>
<|im_start|>user
What is Date To, when Name is "Lee Cook"?<|im_end|>
