CREATE TABLE table_2701851_5 (written_by VARCHAR, no_in_series VARCHAR)

Who wrote the episode in the series 46b?
SELECT written_by FROM table_2701851_5 WHERE no_in_series = "46b"
SELECT "written_by" FROM "table_2701851_5" WHERE "46b" = "no_in_series"