Question: What is the series number for the episode written by Janet Leahy?
SQL: SELECT MIN("No. in series") FROM "1-2818164-4" WHERE "Written by" = 'Janet Leahy';

Question: What was the air date of the episode with the production code of 322?
SQL: SELECT "Original air date" FROM "1-2818164-4" WHERE "Production code" = 322.0;

Question: What is the series number for the episode directed by  Jay Sandrich that aired October 23, 1986?
SQL: SELECT MIN("No. in series") FROM "1-2818164-4" WHERE "Directed by" = 'Jay Sandrich' AND "Original air date" = 'October 23, 1986';

Question: Who wrote the episode titled "Man Talk"?
SQL: SELECT "Written by" FROM "1-2818164-4" WHERE "Title" = '"Man Talk"';