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

Question: Which competition did Târlea come in 4th place, in 2003 at Budapest, Hungary?
SQL: SELECT "competition" FROM "achievements" WHERE "position"='4th' AND "year">2003 AND "venue"='budapest, hungary';

Question: Prior to 2004, what was the name of the competition that took place in Johannesburg, South Africa and had the 400 m hurdles event?
SQL: SELECT "competition" FROM "achievements" WHERE "notes"='400 m hurdles' AND "year"<2004 AND "venue"='johannesburg, south africa';

Question: What events did the competition that took place in 1997 have?
SQL: SELECT "notes" FROM "achievements" WHERE "year"=1997;

Question: What was the earliest year that Târlea took 7th place?
SQL: SELECT MIN("year") FROM "achievements" WHERE "position"='7th';

Question: What place did Târlea come in at the European Indoor Championships?
SQL: SELECT "position" FROM "achievements" WHERE "competition"='european indoor championships';

Question: What venue did the European Championships' 400 m Hurdles take place?
SQL: SELECT "venue" FROM "achievements" WHERE "notes"='400 m hurdles' AND "competition"='european championships';