user: ### NOW ANSWER:
Question: What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012?
Columns: ['Rank', 'Movie', 'Year', 'Studio(s)', 'Opening Day Net Gross', 'Day of Week']
Types: ['real', 'text', 'real', 'text', 'real', 'text']
Sample row: [1.0, 'Chennai Express', 2013.0, 'Red Chillies Entertainment', 331200000.0, 'Friday']
SQL:

assistant: SELECT AVG("Rank") FROM "Table" WHERE "Day of Week" = 'Wednesday' AND "Year" < 2012.0 AND "Studio(s)" = 'Reliance Entertainment';