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

Question: What notes are for years earlier than 2010?
SQL: SELECT "notes" FROM "achievements" WHERE "year"<2010;

Question: What competition took place in a year later than 2009 with team notes?
SQL: SELECT "competition" FROM "achievements" WHERE "year">2009 AND "notes"='team';

Question: What was the position in 2010 with team notes?
SQL: SELECT "position" FROM "achievements" WHERE "year"=2010 AND "notes"='team';