user: Question: What is the maximum production code of an episode written by Patty Lin?
Columns: ['No(s). in series', 'No(s). in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code(s)', 'U.S. viewers (millions)']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'real', 'text']
Sample row: [148.0, 2.0, '"The One with Rachel\'s Book"', 'Michael Lembeck', 'Andrew Reich & Ted Cohen', 'October12,2000', 226402.0, '27.9']
SQL:

assistant: SELECT MAX("Production code(s)") FROM "Table" WHERE "Written by" = 'Patty Lin';