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_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)
system
Who wrote the episode where the original air date is july20,2007?
user
SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007"
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_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)<|im_end|>
<|im_start|>user
Who wrote the episode where the original air date is july20,2007?<|im_end|>
