user: ### NOW ANSWER:
Question: Tell me the average rank for dharma productions before 2013
Columns: ['Rank', 'Movie', 'Year', 'Studio(s)', 'Third Week Nett. Gross']
Types: ['real', 'text', 'real', 'text', 'real']
Sample row: [1.0, '3 Idiots', 2009.0, 'Vinod Chopra Productions', 303000000.0]
SQL:

assistant: SELECT AVG("Rank") FROM "Table" WHERE "Studio(s)" = 'dharma productions' AND "Year" < 2013.0;