NomerDoc Код Филиала StartDate StopDate 3209 Fil 01.04.2017 0:00 30.04.2017 0:00 3491 Fil1 01.04.2017 0:00 30.04.2017 0:00 3378 Fil2 01.04.2017 0:00 30.04.2017 0:00 3398 Fil3 01.04.2017 0:00 30.04.2017 0:00 I need to get the same table only for each day in the interval between startdate and stopdate