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

Question: Who wrote the episode 14 in series?
SQL: SELECT "written_by" FROM "table1_12226390_2" WHERE "no_in_series"=14;

Question: Who directed the episode with production code 28?
SQL: SELECT "directed_by" FROM "table1_12226390_2" WHERE "production_code"=28;

Question: What is the original air date for the episode "a pig in a poke"?
SQL: SELECT "original_air_date" FROM "table1_12226390_2" WHERE "title"='\"A Pig in a Poke\"';

Question: How many episodes were titled "a pig in a poke"? 
SQL: SELECT COUNT("written_by") FROM "table1_12226390_2" WHERE "title"='\"A Pig in a Poke\"';

Question: Who wrote the episode titled "the wedding anniversary"?
SQL: SELECT "written_by" FROM "table1_12226390_2" WHERE "title"='\"The Wedding Anniversary\"';