CREATE TABLE "table1_27988281_1" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);

Question: What is the production code of the episode written by Jeff Filgo?
SQL: SELECT MAX("production_code") FROM "table1_27988281_1" WHERE "written_by"='Jeff Filgo';

Question: Who wrote the episode titled "Red's Birthday"?
SQL: SELECT "written_by" FROM "table1_27988281_1" WHERE "title"='\"Red''s Birthday\"';

Question: What is the production code of the episode titled "Halloween"? 
SQL: SELECT MIN("production_code") FROM "table1_27988281_1" WHERE "title"='\"Halloween\"';