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

Question: What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
SQL: SELECT MIN("year") FROM "achievements" WHERE "venue"='rio de janeiro, brazil';

Question: What is Event, when Year is 2008?
SQL: SELECT "event" FROM "achievements" WHERE "year"=2008;