What I mean is, that the result of the query will still give me two rows, if there were originally three dates following each other with only a day between IndmDate and UdmDate. So if this is the original data:
CprNr InstId IndmDate UdmDate
1234567 17 14-03-2009 31-10-2010
1234567 17...