CREATE TABLE "1980_1989" (
  "year" real,
  "competition" text,
  "date" text,
  "location" text,
  "score" text,
  "result" text
);

Question: How many years has there been a competition in Helsinki?
SQL: SELECT COUNT("year") FROM "1980_1989" WHERE "location"='helsinki';

Question: Which competition before 1982 had a score of 2:3?
SQL: SELECT "competition" FROM "1980_1989" WHERE "year"<1982 AND "score"='2:3';

Question: Which competition occurred after 1980 with a score of 0:5 in Jerusalem?
SQL: SELECT "competition" FROM "1980_1989" WHERE "year">1980 AND "score"='0:5' AND "location"='jerusalem';