user: ### NOW ANSWER:
Question: What is the series number for the episode written by Janet Leahy?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'real']
Sample row: [50.0, 1.0, '"Bring \'Em Back Alive"', 'Jay Sandrich', 'Matt Williams', 'September 25, 1986', 301.0]
SQL:

assistant: SELECT MIN("No. in series") FROM "Table" WHERE "Written by" = 'Janet Leahy';