CREATE TABLE "season_4_2001_2002" (
  "episode_num" real,
  "num_in_season" real,
  "episode_name" text,
  "airdate" text,
  "location" text
);

Question: What is the lowest episode # with an air date of October 31, 2001?
SQL: SELECT MIN("episode_num") FROM "season_4_2001_2002" WHERE "airdate"='october 31, 2001';

Question: What is the average episode # located in Tanzania and whose # in season is larger than 5?
SQL: SELECT AVG("episode_num") FROM "season_4_2001_2002" WHERE "location"='tanzania' AND "num_in_season">5;

Question: What is the average episode # with a name of the origin of Donnie (part 1)?
SQL: SELECT AVG("episode_num") FROM "season_4_2001_2002" WHERE "episode_name"='the origin of donnie (part 1)';

Question: Which air date has 5 for # in season?
SQL: SELECT "airdate" FROM "season_4_2001_2002" WHERE "num_in_season"=5;