CREATE TABLE "season_5_2008_09" (
  "series_num" real,
  "season_num" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);

Question: What is the number of series of the title of "your wife's a payne"?
SQL: SELECT MAX("series_num") FROM "season_5_2008_09" WHERE "title"='\"Your Wife''s a Payne\"';

Question: Who write "a grand payne"?
SQL: SELECT "written_by" FROM "season_5_2008_09" WHERE "title"='\"A Grand Payne\"';

Question: What is the number of series with a title of "with friends like these"?
SQL: SELECT COUNT("series_num") FROM "season_5_2008_09" WHERE "title"='\"With Friends Like These\"';

Question: What is the number of series with production code 503?
SQL: SELECT COUNT("series_num") FROM "season_5_2008_09" WHERE "production_code"=503;

Question: What is the title of production code 514?
SQL: SELECT "title" FROM "season_5_2008_09" WHERE "production_code"=514;