Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
### Context:
CREATE TABLE table_name_12 (written_by VARCHAR, directed_by VARCHAR)
### Question:
Who wrote the episode that was directed by dan lerner?
### Answer:
SELECT written_by FROM table_name_12 WHERE directed_by = "dan lerner"