CREATE TABLE "finals_6_balls" (
  "place" real,
  "nation" text,
  "all_around" real,
  "final" real,
  "total" real
);

Question: What is the sum of the all around with a 37.75 total?
SQL: SELECT SUM("all_around") FROM "finals_6_balls" WHERE "total"=37.75;

Question: What is the average final with an all around larger than 19.4 and total more than 39.9?
SQL: SELECT AVG("final") FROM "finals_6_balls" WHERE "all_around">19.4 AND "total">39.9;