CREATE TABLE "senior_career" (
  "year" real,
  "competition_description" text,
  "location" text,
  "apparatus" text,
  "rank_final" real,
  "score_final" real
);

Question: Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008?
SQL: SELECT SUM("score_final") FROM "senior_career" WHERE "rank_final"=2 AND "year"<2008;

Question: How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, and a Score-Final smaller than 186.525?
SQL: SELECT SUM("year") FROM "senior_career" WHERE "rank_final"<7 AND "competition_description"='olympic games' AND "score_final"<186.525;

Question: Which Score-Final has an Apparatus of floor exercise?
SQL: SELECT MAX("score_final") FROM "senior_career" WHERE "apparatus"='floor exercise';

Question: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3?
SQL: SELECT MIN("year") FROM "senior_career" WHERE "apparatus"='uneven bars' AND "rank_final"<3;