What is the maximum production code of an episode written by Patty Lin?
CREATE TABLE table_27714985_1 (production_code_s_ INTEGER, written_by VARCHAR)
SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_27714985_1 (production_code_s_ INTEGER, written_by VARCHAR) Question: What is the maximum production code of an episode written by Patty Lin? [/INST] SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin" </s>