CREATE TABLE "series_2_2010" (
  "no" real,
  "num" real,
  "episode" text,
  "writer" text,
  "director" text,
  "original_air_date" text,
  "viewing_figure" real
);

Question: How many people wrote episode number 2 of the season?
SQL: SELECT COUNT("writer") FROM "series_2_2010" WHERE "num"=2;

Question: What episode number of the season did Tony Basgallop write?
SQL: SELECT MIN("num") FROM "series_2_2010" WHERE "writer"='Tony Basgallop';

Question: What episode number of the season is episode number 11 in the series?
SQL: SELECT MAX("num") FROM "series_2_2010" WHERE "no"=11;

Question: How many items are listed under the column 'viewing figure' for "the looking glass"?
SQL: SELECT COUNT("viewing_figure") FROM "series_2_2010" WHERE "episode"='\"The Looking Glass\"';