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

Question: What season episode is written by neil thompson?
SQL: SELECT MIN("no_in_season") FROM episode_data_2 WHERE "written_by" = 'Neil Thompson'

Question: What was the original air for the 06-03-521 production code?
SQL: SELECT "original_air_date" FROM episode_data_2 WHERE "production_code" = '06-03-521'

Question: What episode number in the series aired on February 8, 2004?
SQL: SELECT MAX("no_in_series") FROM episode_data_2 WHERE "original_air_date" = 'February 8, 2004'

Question: In season 5 what episode number was production 06-03-519?
SQL: SELECT COUNT("no_in_season") FROM episode_data_2 WHERE "production_code" = '06-03-519'