Which Year that has Notes of dnf?
CREATE TABLE "achievements" (
  "year" real,
  "competition" text,
  "venue" text,
  "position" text,
  "event" text,
  "notes" text
);
SELECT MIN("year") FROM "achievements" WHERE "notes"='dnf';