Table: episodes_table_58
Columns: no_in_series
no_in_season
title
directed_by
written_by
original_air_date
production_code

Question: What is the production code of the episode written by Jeff Filgo?
SQL: SELECT MAX("production_code") FROM episodes_table_58 WHERE "written_by" = 'Jeff Filgo'

Question: Who wrote the episode titled "Red's Birthday"?
SQL: SELECT "written_by" FROM episodes_table_58 WHERE "title" = '"Red''s Birthday"'

Question: What is the production code of the episode titled "Halloween"? 
SQL: SELECT MIN("production_code") FROM episodes_table_58 WHERE "title" = '"Halloween"'