CREATE TABLE "episodes" (
  "title" text,
  "director" text,
  "writer" text,
  "original_airdate" text,
  "prod_code" text
);

Question: Who directed the episode with production code 40811-005?
SQL: SELECT "director" FROM "episodes" WHERE "prod_code"='40811-005';

Question: What is the title of the episode with production code 40811-002?
SQL: SELECT "title" FROM "episodes" WHERE "prod_code"='40811-002';

Question: Who wrote "The Six Stages of Marshall"?
SQL: SELECT "writer" FROM "episodes" WHERE "title"='\"the six stages of marshall\"';