CREATE TABLE "table1_12226390_3" (
  "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's the minimum production code written by jay sommers & dick chevillat and al schwartz
SQL: SELECT MIN("production_code") FROM "table1_12226390_3" WHERE "written_by"='Jay Sommers & Dick Chevillat and Al Schwartz';

Question: what's the total number of title for production code 39
SQL: SELECT COUNT("title") FROM "table1_12226390_3" WHERE "production_code"=39;