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

Question: What are the notes of events that finished in 12th position?
SQL: SELECT "notes" FROM "achievements" WHERE "position"='12th';

Question: Which venue was finished in 2nd position in 1985?
SQL: SELECT "venue" FROM "achievements" WHERE "position"='2nd' AND "year"=1985;

Question: What is the average year of events that took place in Antwerp, Belgium?
SQL: SELECT AVG("year") FROM "achievements" WHERE "venue"='antwerp, belgium';

Question: What's the year of the event that took place most recently in Antwerp, Belgium with team competition notes?
SQL: SELECT MAX("year") FROM "achievements" WHERE "notes"='team competition' AND "venue"='antwerp, belgium';