What is the total for Danny Pinheiro Rodrigues ( fra ), in a Position smaller than 7?
CREATE TABLE "qualified_competitors" (
  "position" real,
  "gymnast" text,
  "a_score" real,
  "b_score" real,
  "total" real
);
SELECT AVG("total") FROM "qualified_competitors" WHERE "gymnast"='danny pinheiro rodrigues ( fra )' AND "position"<7;