Table: tv_ratings_13
Columns: episode
rating
share
rating_share_18_49
rank_timeslot
rank_night

Question: What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5?
SQL: SELECT AVG("rank_timeslot") FROM tv_ratings_13 WHERE "rating" > 2.9 AND "rating_share_18_49" = '2.6/8' AND "rank_night" > 5

Question: What is the smallest rating with nightly rank smaller than 7, timeslot rank smaller than 5 and eposide after episode 6?
SQL: SELECT MIN("rating") FROM tv_ratings_13 WHERE "rank_night" < 7 AND "rank_timeslot" < 5 AND "episode" > 6

Question: What is the lowest nightly rank for an episode after episode 1 with a rating/share of 2.6/8?
SQL: SELECT MIN("rank_night") FROM tv_ratings_13 WHERE "rating_share_18_49" = '2.6/8' AND "episode" > 1

Question: What is the timeslot rank when the rating is smaller than 2.6 and the share is more than 4?
SQL: SELECT AVG("rank_timeslot") FROM tv_ratings_13 WHERE "rating" < 2.6 AND "share" > 4

Question: What is the smallest timeslot rank when the rating is smaller than 2.6?
SQL: SELECT MIN("rank_timeslot") FROM tv_ratings_13 WHERE "rating" < 2.6