What year was the rank final of 6?
CREATE TABLE "junior_career_history" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "rank_final" text
);
SELECT "year" FROM "junior_career_history" WHERE "rank_final"='6';