What is the earliest year a song with a position less than 1 has?
CREATE TABLE "charts" (
  "year" real,
  "single" text,
  "chart" text,
  "position" real,
  "weeks_on_chart" real
);
SELECT MIN("year") FROM "charts" WHERE "position"<1;