CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text
);

Question: Tell me the competition for 2nd position with year more than 2005
SQL: SELECT "competition" FROM "achievements" WHERE "position"='2nd' AND "year">2005;

Question: Name the sum of year for 2nd position for junior race
SQL: SELECT SUM("year") FROM "achievements" WHERE "position"='2nd' AND "event"='junior race';

Question: Name the venue for 2nd position of year before 2008
SQL: SELECT "venue" FROM "achievements" WHERE "year"<2008 AND "position"='2nd';