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

Question: What competition was held earlier than 2007 and has 7434 in the notes field?
SQL: SELECT "competition" FROM "achievements" WHERE "year"<2007 AND "notes"='7434';

Question: What event has 7860 notes?
SQL: SELECT "event" FROM "achievements" WHERE "notes"='7860';

Question: What venue has 7964 pb notes?
SQL: SELECT "venue" FROM "achievements" WHERE "notes"='7964 pb';