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

Question: Which Year is the highest one that has a Venue of edmonton, canada?
SQL: SELECT MAX("year") FROM "achievements" WHERE "venue"='edmonton, canada';

Question: Which Position has a Competition of world championships, and a Year larger than 1997?
SQL: SELECT "position" FROM "achievements" WHERE "competition"='world championships' AND "year">1997;

Question: Which Venue has a Notes of heptathlon, and a Year of 1991?
SQL: SELECT "venue" FROM "achievements" WHERE "notes"='heptathlon' AND "year"=1991;