CREATE TABLE "champions_of_pre_bundesliga_oberligen" (
  "year" real,
  "nord" text,
  "west" text,
  "s_dwest" text,
  "berlin" text
);

Question: What was Berlin when fk pirmasens was Südwest and westfalia herne was west?
SQL: SELECT "berlin" FROM "champions_of_pre_bundesliga_oberligen" WHERE "s_dwest"='fk pirmasens' AND "west"='westfalia herne';

Question: What is the earliest year borussia dortmund was west and bfc viktoria 1889 was Berlin?
SQL: SELECT MIN("year") FROM "champions_of_pre_bundesliga_oberligen" WHERE "west"='borussia dortmund' AND "berlin"='bfc viktoria 1889';

Question: What is the Nord in 1952, when tennis borussia berlin was Berlin?
SQL: SELECT "nord" FROM "champions_of_pre_bundesliga_oberligen" WHERE "berlin"='tennis borussia berlin' AND "year"=1952;