CREATE TABLE "highest_grossing_films" (
  "rank" real,
  "title" text,
  "studio" text,
  "director" text,
  "gross" text
);

Question: What is the rank of the film directed by Kevin Costner?
SQL: SELECT COUNT("rank") FROM "highest_grossing_films" WHERE "director"='kevin costner';

Question: What director grossed $200,512,643
SQL: SELECT "director" FROM "highest_grossing_films" WHERE "gross"='$200,512,643';

Question: What is the average rank of the movie from Paramount Studios that grossed $200,512,643?
SQL: SELECT AVG("rank") FROM "highest_grossing_films" WHERE "studio"='paramount' AND "gross"='$200,512,643';

Question: Who directed Teenage Mutant Ninja Turtles?
SQL: SELECT "director" FROM "highest_grossing_films" WHERE "title"='teenage mutant ninja turtles';

Question: What director ranked higher than 1 from Universal Studios and grossed $201,957,688?
SQL: SELECT "director" FROM "highest_grossing_films" WHERE "rank">1 AND "studio"='universal' AND "gross"='$201,957,688';