CREATE TABLE table_18335117_2 (production_code NUMBER, writer VARCHAR2)

What is the highest production code of an episode written by Tim Loane?
SELECT MAX(production_code) FROM table_18335117_2 WHERE writer = "Tim Loane"
SELECT MAX("production_code") FROM "table_18335117_2" WHERE "Tim Loane" = "writer"