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_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)
system
The episode with the no. 54, directed by Charles Haid, is written by who?
user
SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54
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_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)<|im_end|>
<|im_start|>user
The episode with the no. 54, directed by Charles Haid, is written by who?<|im_end|>
