CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)

which production codes were written by andrew goldberg
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"
SELECT "production_code" FROM "table_26259391_1" WHERE "Andrew Goldberg" = "written_by"