CREATE TABLE "singles_champions" (
  "location" text,
  "year" real,
  "champion" text,
  "runner_up" text,
  "score" text
);

Question: In 1979 when Jimmy Connors was the runner-up what was the score?
SQL: SELECT "score" FROM "singles_champions" WHERE "runner_up"='jimmy connors' AND "year"<1979;

Question: Who won when Peter Fleming was a runner-up?
SQL: SELECT "champion" FROM "singles_champions" WHERE "runner_up"='peter fleming';

Question: When John Mcenroe won at Montreal, what was the score?
SQL: SELECT "score" FROM "singles_champions" WHERE "location"='montreal' AND "champion"='john mcenroe';

Question: When Ilie Năstase beat runner-up Peter Fleming what year was it?
SQL: SELECT COUNT("year") FROM "singles_champions" WHERE "champion"='ilie năstase' AND "runner_up"='peter fleming';