user: ### NOW ANSWER:
Question: Who wrote the episode with IP03012 as the production code?
Columns: ['No. in series', 'No. in season', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [18.0, 1.0, '"The Gang Finds a Dumpster Baby"', 'Jerry Levine', 'Rob McElhenney & Charlie Day', 'September13,2007', 'IP03001']
SQL:

assistant: SELECT "Written by" FROM "Table" WHERE "Production code" = 'IP03012';