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

Question: Name the production code for november 27, 1988
SQL: SELECT "production_code" FROM "table1_2226817_4" WHERE "original_air_date"='November 27, 1988';

Question: Name the original air date for 3.04 production code
SQL: SELECT "original_air_date" FROM "table1_2226817_4" WHERE "production_code"='3.04';

Question: Name who wrote the episode that aired april 9, 1989
SQL: SELECT "written_by" FROM "table1_2226817_4" WHERE "original_air_date"='April 9, 1989';

Question: Name the number of number in season for 3.09
SQL: SELECT COUNT("no_in_season") FROM "table1_2226817_4" WHERE "production_code"='3.09';