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

Question: What's the name of the competition in 8th position?
SQL: SELECT "competition" FROM "achievements" WHERE "position"='8th';

Question: After 1979, where was the European Indoor Championships held?
SQL: SELECT "venue" FROM "achievements" WHERE "competition"='european indoor championships' AND "year">1979;

Question: Before 1979, what position was the European Indoor Championships?
SQL: SELECT "position" FROM "achievements" WHERE "competition"='european indoor championships' AND "year"<1979;