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

Question: What was the venue that had 5000 m after 2009?
SQL: SELECT "venue" FROM "achievements" WHERE "year">2009 AND "notes"='5000 m';

Question: What was the latest year with a position of 1st at Maputo, Mozambique?
SQL: SELECT MAX("year") FROM "achievements" WHERE "position"='1st' AND "venue"='maputo, mozambique';

Question: Which position was in 2009?
SQL: SELECT "position" FROM "achievements" WHERE "year"=2009;