CREATE TABLE "table1_2342078_2" (
  "episode_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_airdate" text,
  "production_code_order_they_were_made_num" real
);

Question: Who are all directors when Sherwood Schwartz is the writer?
SQL: SELECT "directed_by" FROM "table1_2342078_2" WHERE "written_by"='Sherwood Schwartz';

Question: What is the highest episode# with the writer Paul West?
SQL: SELECT MAX("episode_num") FROM "table1_2342078_2" WHERE "written_by"='Paul West';

Question: What is every production code for episode # 13?
SQL: SELECT "production_code_order_they_were_made_num" FROM "table1_2342078_2" WHERE "episode_num"=13;