This question already has an answer here:
I was trying to book a flight from London to Chennai. The cheapest air ticket was the one that has two stops, first at Berlin and then at Frankfurt. I hold an Indian passport and a UK work visa. My Question is should I get a visa for such a travel to stay in the airport? Or it is not required because it is only in transit?
By the way, the airlines from London to Berlin is German Wings and the other part of the journey is with Lufthansa (Berlin -> Frankfurt -> Chennai). Are there any restrictions? I was not able to google this information easily.