CREATE TABLE "season_2_2007_08" (
  "series_no" real,
  "season_no" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);

Question: What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?
SQL: SELECT "original_air_date" FROM "season_2_2007_08" WHERE "series_no">40 AND "production_code"<213 AND "season_no">11;

Question: Who wrote the series number 49 with a season larger than 4?
SQL: SELECT "written_by" FROM "season_2_2007_08" WHERE "season_no">4 AND "series_no"=49;