Table: tv_episode_17
Columns: series
episode_title
directed_by
written_by
original_air_date
prod_code

Question: Who directed the episode with the production code 10?
SQL: SELECT "directed_by" FROM tv_episode_17 WHERE "prod_code" = 10

Question: Who wrote the episode with production code 2?
SQL: SELECT "written_by" FROM tv_episode_17 WHERE "prod_code" = 2

Question: Who wrote the episode with production code 5?
SQL: SELECT "written_by" FROM tv_episode_17 WHERE "prod_code" = 5