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

Question: what is the average b score when the gymnast is kōhei uchimura ( jpn )?
SQL: SELECT AVG("b_score") FROM "qualified_competitors" WHERE "gymnast"='kōhei uchimura ( jpn )';

Question: what is the b score when the a score is 6.9?
SQL: SELECT "b_score" FROM "qualified_competitors" WHERE "a_score"=6.9;

Question: what is the sum of the b score when the a score is 6.6 and the total is 15.6?
SQL: SELECT SUM("b_score") FROM "qualified_competitors" WHERE "a_score"=6.6 AND "total"=15.6;