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

Question: Which Notes have a Competition of world championships, and a Position of 2nd?
SQL: SELECT "notes" FROM "achievements" WHERE "competition"='world championships' AND "position"='2nd';

Question: What was the venue after 2012?
SQL: SELECT "venue" FROM "achievements" WHERE "year">2012;

Question: What were the notes in 2011?
SQL: SELECT "notes" FROM "achievements" WHERE "year"=2011;

Question: Which Year has a Position of 9th?
SQL: SELECT AVG("year") FROM "achievements" WHERE "position"='9th';