What is the series number for the episode written by janet leahy?
CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR)
SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2818164_4 (no_in_series INTEGER, written_by VARCHAR) Question: What is the series number for the episode written by janet leahy? [/INST] SELECT MIN(no_in_series) FROM table_2818164_4 WHERE written_by = "Janet Leahy" </s>