CREATE TABLE table_name_8 (rank INT, studio_s_ VARCHAR, day_of_week VARCHAR, year VARCHAR)

What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012?
SELECT AVG(rank) FROM table_name_8 WHERE day_of_week = "wednesday" AND year < 2012 AND studio_s_ = "reliance entertainment"
SELECT AVG("rank") FROM "table_name_8" WHERE "day_of_week" = "wednesday" AND "reliance entertainment" = "studio_s_" AND "year" < 2012