Table: oberliga_football
Columns: year
nord
west
s_dwest
berlin

Question: What was Berlin when fk pirmasens was Südwest and westfalia herne was west?
SQL: SELECT "berlin" FROM oberliga_football 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 oberliga_football 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 oberliga_football WHERE "berlin" = 'tennis borussia berlin' AND "year" = 1952