Context: CREATE TABLE table_18335117_2 (production_code INTEGER, writer VARCHAR)
Question: What is the highest production code of an episode written by Tim Loane?
Answer: SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane"