Table: tv_episode_data_51
Columns: no_in_series
no_in_season
title
directedby
writtenby
originalairdate
production_code
u_s_viewers_million

Question: What was the production code for the episode with 3.38 million viewers?
SQL: SELECT "production_code" FROM tv_episode_data_51 WHERE "u_s_viewers_million" = '3.38'

Question: Who were the writers for "Balm"?
SQL: SELECT "writtenby" FROM tv_episode_data_51 WHERE "title" = '"Balm"'

Question: What season number did production code  2wab12?
SQL: SELECT "no_in_season" FROM tv_episode_data_51 WHERE "production_code" = '2WAB12'

Question: How many numbers in the season were written by  Brett Conrad & Liz Sagal?
SQL: SELECT COUNT("no_in_season") FROM tv_episode_data_51 WHERE "writtenby" = 'Brett Conrad & Liz Sagal'