CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);

Question: Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?
SQL: SELECT SUM("b_score") FROM "qualified_competitors" WHERE "total">15.325 AND "a_score"<6.4;

Question: Which Total has an A Score of 6.5, and a Position larger than 5?
SQL: SELECT MIN("total") FROM "qualified_competitors" WHERE "a_score"=6.5 AND "position">5;