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

Question: What competition was the World Championships before 2011?
SQL: SELECT "event" FROM "achievements" WHERE "competition"='world championships' AND "year"<2011;

Question: What event took place in Erfurt, Germany?
SQL: SELECT "event" FROM "achievements" WHERE "venue"='erfurt, germany';