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

Question: How many viewers in millions for episode "sokka's master"?
SQL: SELECT "viewers_millions" FROM episode_data_2 WHERE "title" = '"Sokka''s Master"'

Question: What is the original air date for the episode with a production code of 318?
SQL: SELECT "original_air_date" FROM episode_data_2 WHERE "production_code" = 318

Question: What season has an episode written by john o'bryan and directed by ethan spaulding?
SQL: SELECT "no_in_season" FROM episode_data_2 WHERE "written_by" = 'John O''Bryan' AND "directed_by" = 'Ethan Spaulding'

Question: What are all the numbers in the series with an episode title of "the beach"?
SQL: SELECT "no_in_series" FROM episode_data_2 WHERE "title" = '"The Beach"'