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

Question: Name the highest Year which has a Venue of narbonne , france?
SQL: SELECT MAX("year") FROM "achievements" WHERE "venue"='narbonne , france';

Question: Which Competition has a Year larger than 1990 in seville , spain?
SQL: SELECT "competition" FROM "achievements" WHERE "year">1990 AND "venue"='seville , spain';

Question: COunt the Year which has a Venue of latakia , syria?
SQL: SELECT COUNT("year") FROM "achievements" WHERE "venue"='latakia , syria';

Question: Which  Position has an Event of 4x400 m relay, and a Venue of stuttgart , germany?
SQL: SELECT "position" FROM "achievements" WHERE "event"='4x400 m relay' AND "venue"='stuttgart , germany';

Question: Which Year has a Competition of european indoor championships, and a Venue of budapest , hungary?
SQL: SELECT SUM("year") FROM "achievements" WHERE "competition"='european indoor championships' AND "venue"='budapest , hungary';