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

Question: Which Venue has a Notes of 2:28:31?
SQL: SELECT "venue" FROM "achievements" WHERE "notes"='2:28:31';

Question: Which Venue has a Competition of venice marathon?
SQL: SELECT "venue" FROM "achievements" WHERE "competition"='venice marathon';

Question: Which Year that has Notes of dnf?
SQL: SELECT MIN("year") FROM "achievements" WHERE "notes"='dnf';

Question: Which Competition has a Year larger than 2000?
SQL: SELECT "competition" FROM "achievements" WHERE "year">2000;