This question already has an answer here:
I am a citizen of Pakistan and I was recently granted a long term visa "type D" National Visa of Poland.
I was wondering can I transit through Denmark or Germany en-route to my host country or do I need a transit/tourist visa from those countries?
With the flights I am looking at it seems like I will have to pass through border control in order to catch a 'domestic' flight to Warsaw either from
CPG or Frankfurt.