Table: bollywood_films_gross_3
Columns: rank
movie
year
studio_s
third_week_nett_gross

Question: Tell me the average rank for dharma productions before 2013
SQL: SELECT AVG("rank") FROM bollywood_films_gross_3 WHERE "studio_s" = 'dharma productions' AND "year" < 2013

Question: Name the average year for 4 rank
SQL: SELECT AVG("year") FROM bollywood_films_gross_3 WHERE "rank" = 4

Question: Name the lowest rank for red chillies entertainment for 2013
SQL: SELECT MIN("rank") FROM bollywood_films_gross_3 WHERE "year" = 2013 AND "studio_s" = 'red chillies entertainment'