CREATE TABLE table_name_17 (year INT, notes VARCHAR)

Which Year that has Notes of dnf?
SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf"
SELECT MIN("year") FROM "table_name_17" WHERE "dnf" = "notes"