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

Question: What is Position, when Event is 60 m, and when Venue is Budapest , Hungary?
SQL: SELECT "position" FROM "achievements" WHERE "event"='60 m' AND "venue"='budapest , hungary';

Question: What is Event, when Position is 6th, and when Year is after 2006?
SQL: SELECT "event" FROM "achievements" WHERE "position"='6th' AND "year">2006;

Question: What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?
SQL: SELECT AVG("year") FROM "achievements" WHERE "position"='9th' AND "event"='100 m' AND "venue"='munich, germany';

Question: What is the Event, when Year is 2002, and when Competition is European Indoor Championships?
SQL: SELECT "event" FROM "achievements" WHERE "year"=2002 AND "competition"='european indoor championships';