What year weas John McEnroe the champion?
CREATE TABLE "singles_champions" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);
SELECT AVG("year") FROM "singles_champions" WHERE "champion"='john mcenroe';