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

Question: Who directed "Freaky Friday"?
SQL: SELECT "directed_by" FROM episode_data_3 WHERE "title" = '"Freaky Friday"'

Question: What date was the episode originally aired that was directed by James Widdoes and the production code is 320?
SQL: SELECT "original_air_date" FROM episode_data_3 WHERE "directed_by" = 'James Widdoes' AND "production_code" = 320

Question: How many production codes are there for "the sub"?
SQL: SELECT COUNT("production_code") FROM episode_data_3 WHERE "title" = '"The Sub"'

Question: What is the production code for episode 3 of the season?
SQL: SELECT "production_code" FROM episode_data_3 WHERE "no_in_season" = 3