CREATE TABLE "table1_2818164_7" (
  "no_in_series" real,
  "no_in_season" real,
  "title" text,
  "directed_by" text,
  "written_by" text,
  "original_air_date" text,
  "production_code" real
);

Question: What is the production code that was written by matt robinson?
SQL: SELECT "production_code" FROM "table1_2818164_7" WHERE "written_by"='Matt Robinson';

Question: Which title has 147 as no. in series?
SQL: SELECT "title" FROM "table1_2818164_7" WHERE "no_in_series"=147;

Question: What is the original air date the was written by mark st. germain and direct by jay sandrich?
SQL: SELECT "original_air_date" FROM "table1_2818164_7" WHERE "written_by"='Mark St. Germain' AND "directed_by"='Jay Sandrich';