Table: tv_episode_details
Columns: series
season
title
story_by
teleplay_by
directed_by
original_air_date

Question: Who wrote the sorry of the episode directed by Dan Attias? 
SQL: SELECT "story_by" FROM tv_episode_details WHERE "directed_by" = 'Dan Attias'

Question: What's the season number of the episode directed by Dan Attias? 
SQL: SELECT MIN("season") FROM tv_episode_details WHERE "directed_by" = 'Dan Attias'

Question: What's the title of the episode written by David Simon? 
SQL: SELECT "title" FROM tv_episode_details WHERE "teleplay_by" = 'David Simon'