What is the highest production code of an episode written by Tim Loane?
CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR)
SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR) Question: What is the highest production code of an episode written by Tim Loane? [/INST] SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane" </s>