CREATE TABLE "episodes" (
  "episode" text,
  "season" real,
  "production_code" text,
  "original_air_date" text,
  "directed_by" text
);

Question: Which episode was directed by Bob Anderson with a production code of KABF16 and a season before than 25?
SQL: SELECT "episode" FROM "episodes" WHERE "season"<25 AND "directed_by"='bob anderson' AND "production_code"='kabf16';

Question: Who was the director of the episode with a season after 8 and an episode of XVI?
SQL: SELECT "directed_by" FROM "episodes" WHERE "season">8 AND "episode"='xvi';