human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Season no., Series no., Title, Directed by, Written by, Original air date, Production code, U.S. Viewers (millions)
###Question: who are the writers when the production code is 8011?
gpt
SELECT Written by FROM table WHERE Production code = 8011