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

Question: what is the competition when the result is loss in berlin with a score of 0-3?
SQL: SELECT "competition" FROM "1980_1989" WHERE "result"='loss' AND "location"='berlin' AND "score"='0-3';

Question: what is the date for the game in prague for the world group, consolation round competition?
SQL: SELECT "date" FROM "1980_1989" WHERE "location"='prague' AND "competition"='world group, consolation round';

Question: What is the competition in tokyo with the result loss?
SQL: SELECT "competition" FROM "1980_1989" WHERE "location"='tokyo' AND "result"='loss';

Question: what is the year when the date is not played?
SQL: SELECT "year" FROM "1980_1989" WHERE "date"='not played';

Question: what is the score when the result is loss, the year is 1980 and the competition is world group, consolation round?
SQL: SELECT "score" FROM "1980_1989" WHERE "result"='loss' AND "year"='1980' AND "competition"='world group, consolation round';