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

Question: What was the A Score when the B Score was 9.05, and position was larger than 6?
SQL: SELECT AVG("a_score") FROM "qualified_competitors" WHERE "b_score"=9.05 AND "position">6;

Question: What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
SQL: SELECT AVG("total") FROM "qualified_competitors" WHERE "b_score"=9.15 AND "gymnast"='cheng fei ( chn )';

Question: What was their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?
SQL: SELECT AVG("position") FROM "qualified_competitors" WHERE "b_score"<9.05 AND "total"=15.275 AND "a_score">6.4;

Question: What is their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?
SQL: SELECT "position" FROM "qualified_competitors" WHERE "b_score">8.975 AND "gymnast"='ekaterina kramarenko ( rus )';