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

Question: What is the highest Year with a Competition that is new york city marathon?
SQL: SELECT MAX("year") FROM "achievements" WHERE "competition"='new york city marathon';

Question: What is the Notes with a Venue that is venice, italy?
SQL: SELECT "notes" FROM "achievements" WHERE "venue"='venice, italy';