What is the last episode in the series written by Gregory S. Malins?
CREATE TABLE table_27714985_1 (no_s__in_series INTEGER, written_by VARCHAR)
SELECT MAX(no_s__in_series) FROM table_27714985_1 WHERE written_by = "Gregory S. Malins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27714985_1 (no_s__in_series INTEGER, written_by VARCHAR) Question: What is the last episode in the series written by Gregory S. Malins? [/INST] SELECT MAX(no_s__in_series) FROM table_27714985_1 WHERE written_by = "Gregory S. Malins" </s>