CREATE TABLE "table1_27462209_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "u_s_viewers_millions" text,
  "original_u_s_air_date" text,
  "prod_code" real
);

Question: Name who wrote the production code 322
SQL: SELECT "written_by" FROM "table1_27462209_1" WHERE "prod_code"=322;