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

Question: WHAT RANK DOES LEONARD NIMOY HAVE?
SQL: SELECT AVG("rank") FROM "highest_grossing_films_u_s" WHERE "director"='leonard nimoy';

Question: WHAT IS THE RANK OF MARTIN BREST?
SQL: SELECT SUM("rank") FROM "highest_grossing_films_u_s" WHERE "director"='martin brest';

Question: WHAT IS THE STUDIO WITH A GROSS $81,198,894?
SQL: SELECT "studio" FROM "highest_grossing_films_u_s" WHERE "gross"='$81,198,894';

Question: WHAT IS THE GROSS DOLLARS WITH A RANK OF 7 OR MORE, AND DIRECTOR BARRY LEVINSON?
SQL: SELECT "gross" FROM "highest_grossing_films_u_s" WHERE "rank">7 AND "director"='barry levinson';

Question: WHAT IS THE GROSS WITH A DIRECTOR OF RICHARD TUGGLE?
SQL: SELECT "gross" FROM "highest_grossing_films_u_s" WHERE "director"='richard tuggle';