Who was the director when the writer was John Sullivan?
CREATE TABLE table_17641206_4 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_17641206_4 WHERE written_by = "John Sullivan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17641206_4 (directed_by VARCHAR, written_by VARCHAR) Question: Who was the director when the writer was John Sullivan? [/INST] SELECT directed_by FROM table_17641206_4 WHERE written_by = "John Sullivan" </s>