CREATE TABLE "table1_26866434_1" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "director" text,
  "writer" text,
  "original_air_date" text
);

Question: What episode number in the series is "millennium"?
SQL: SELECT MIN("series_num") FROM "table1_26866434_1" WHERE "title"='\"Millennium\"';

Question: Who wrote episode 122 in the series?
SQL: SELECT "writer" FROM "table1_26866434_1" WHERE "series_num"=122;

Question: Who wrote "Monica's bad day"?
SQL: SELECT "writer" FROM "table1_26866434_1" WHERE "title"='\"Monica''s Bad Day\"';