Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: 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?

### Accurate SQL ###

SELECT MAX(production_code_s_) FROM table_27714985_1 WHERE written_by = "Patty Lin"