CREATE TABLE "biggest_opening_day_gross" (
  "rank" real,
  "movie" text,
  "year" real,
  "studio_s" text,
  "opening_day_net_gross" real,
  "day_of_week" text
);

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

Question: What is the opening day of the week of Chennai Express, which had an opening day net gross larger than 14,76,00,000 in 2013?
SQL: SELECT "day_of_week" FROM "biggest_opening_day_gross" WHERE "opening_day_net_gross">'14,76,00,000' AND "year"=2013 AND "movie"='chennai express';

Question: What is the opening day net gross a Reliance Entertainment movie before 2011 had?
SQL: SELECT SUM("opening_day_net_gross") FROM "biggest_opening_day_gross" WHERE "studio_s"='reliance entertainment' AND "year"<2011;

Question: What is the studio of ra.one?
SQL: SELECT "studio_s" FROM "biggest_opening_day_gross" WHERE "movie"='ra.one';

Question: What is the year of the movie with an opening day on Friday with a rank 10?
SQL: SELECT COUNT("year") FROM "biggest_opening_day_gross" WHERE "day_of_week"='friday' AND "rank"=10;