Context: CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
Question: Who wrote the episode with production code 2?
Answer: SELECT written_by FROM table_25679312_2 WHERE prod_code = 2