Who wrote the episode that was directed by Terry Ingram?
CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR) Question: Who wrote the episode that was directed by Terry Ingram? [/INST] SELECT written_by FROM table_name_58 WHERE directed_by = "terry ingram" </s>