Context: CREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode that has the production code ad1c05?
Answer: SELECT written_by FROM table_name_4 WHERE production_code = "ad1c05"