Who wrote the episode with production code 2?
CREATE TABLE "table1_25679312_2" (
  "series_num" real,
  "episode_title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "prod_code" real
);
SELECT "written_by" FROM "table1_25679312_2" WHERE "prod_code"=2;