CREATE TABLE "table1_2602958_4" (
  "no" real,
  "num" real,
  "title" text,
  "director" text,
  "writer_s" text,
  "original_air_date" text,
  "prod_code" real,
  "u_s_viewers_million" text
);

Question: How many production codes are there for episode number 45?
SQL: SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "no"=45;

Question: Who wrote episode 6 in season 3?
SQL: SELECT "writer_s" FROM "table1_2602958_4" WHERE "num"=6;

Question: Which episodein season 3 had 175020 for a production code?
SQL: SELECT "num" FROM "table1_2602958_4" WHERE "prod_code"=175020;

Question: How many production codes does the episode "keg! max!" have?
SQL: SELECT COUNT("prod_code") FROM "table1_2602958_4" WHERE "title"='\"Keg! Max!\"';

Question: What was the original air date of "they shoot gilmores, don't they?"
SQL: SELECT "original_air_date" FROM "table1_2602958_4" WHERE "title"='\"They Shoot Gilmores, Don''t They?\"';

Question: Who wrote episode number 45?
SQL: SELECT "writer_s" FROM "table1_2602958_4" WHERE "no"=45;