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

Question: How many different production codes does the episode originally aired on October 18, 1984 have?
SQL: SELECT COUNT("production_code") FROM "table1_2818164_2" WHERE "original_air_date"='October 18, 1984';

Question: What's the title of the episode with production code 104?
SQL: SELECT "title" FROM "table1_2818164_2" WHERE "production_code"=104;

Question: How many different titles does the episode originally aired on September 27, 1984 have?
SQL: SELECT COUNT("title") FROM "table1_2818164_2" WHERE "original_air_date"='September 27, 1984';

Question: What's the production code of the episode originally aired on February 21, 1985?
SQL: SELECT MIN("production_code") FROM "table1_2818164_2" WHERE "original_air_date"='February 21, 1985';

Question: When did the episode titled "Bad dreams" air for the first time?
SQL: SELECT "original_air_date" FROM "table1_2818164_2" WHERE "title"='\"Bad Dreams\"';

Question: When did the episode titled "Vanessa's new class" air for the first time?
SQL: SELECT "original_air_date" FROM "table1_2818164_2" WHERE "title"='\"Vanessa''s New Class\"';