Table: tyler_perry_episodes_2
Columns: series_no
season_no
title
directed_by
written_by
original_air_date
production_code

Question: What date did the show with a series larger than 40, production code smaller than 213, and a season number larger than 11 air?
SQL: SELECT "original_air_date" FROM tyler_perry_episodes_2 WHERE "series_no" > 40 AND "production_code" < 213 AND "season_no" > 11

Question: Who wrote the series number 49 with a season larger than 4?
SQL: SELECT "written_by" FROM tyler_perry_episodes_2 WHERE "season_no" > 4 AND "series_no" = 49