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

Question: What's the total that the position is less than 1?
SQL: SELECT MIN("total") FROM "balance_beam_ef_qualifiers" WHERE "position"<1;

Question: What the B Score when the total is 16.125 and the position is less than 7?
SQL: SELECT SUM("b_score") FROM "balance_beam_ef_qualifiers" WHERE "position"<7 AND "total"=16.125;