What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012?
CREATE TABLE "biggest_opening_day_gross" (
  "rank" real,
  "movie" text,
  "year" real,
  "studio_s" text,
  "opening_day_net_gross" real,
  "day_of_week" text
);
SELECT AVG("rank") FROM "biggest_opening_day_gross" WHERE "day_of_week"='wednesday' AND "year"<2012 AND "studio_s"='reliance entertainment';