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_4 (written_by VARCHAR, production_code VARCHAR)
system
Who wrote the episode that has the production code ad1c05?
user
SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"
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_4 (written_by VARCHAR, production_code VARCHAR)<|im_end|>
<|im_start|>user
Who wrote the episode that has the production code ad1c05?<|im_end|>
