I thought using CTE and TD_NORMALIZE_MEET would help me out. I have multiple rows, say
**FIELD1 | FIELD2 | FIELD3 | FIELD4 | START_DT | END_DT**
abcd1 | efgh1 | hijk1 | lmno1 | 2019/09/23 | 2019/09/30
abcd1 | efgh1 | hijk1 | lmno1 | 2019/10/01 | 2019/10/25
abcd1 | efgh1 | hijk1 | lmno1 | 2019/11/01 | 2019/11/30
abcd1 | efgh1 | hijk1 | lmno1 | 2019/12/01 | 2019/12/25
abcd1 | efgh1 | hijk1 | lmno1 | 2019/12/26 | 2020/01/10
abcd1 | efgh1 | hijk1 | lmno1 | 2020/01/15 | 2020/01/30
abcd1 | efgh1 | hijk1 | lmno1 | 2020/01/31 | 2020/03/20
abcd1 | efgh1 | hijk1 | lmno1 | 2020/03/28 | 2020/05/25
abcd1 | efgh1 | hijk1 | lmno1 | 2020/06/01 | 2020/09/01
These should come up as
**FIELD1 | FIELD2 | FIELD3 | FIELD4 | START_DT | END_DT**
abcd1 | efgh1 | hijk1 | lmno1 | 2019/09/23 | 2019/10/25
abcd1 | efgh1 | hijk1 | lmno1 | 2019/11/01 | 2020/01/10
abcd1 | efgh1 | hijk1 | lmno1 | 2020/01/15 | 2020/03/20
abcd1 | efgh1 | hijk1 | lmno1 | 2020/03/28 | 2020/05/25
abcd1 | efgh1 | hijk1 | lmno1 | 2020/06/01 | 2020/09/01
However, TD_NORMALIZE_MEET does not help out. Tried TD_NORMALIZE_OVERLAP_MEET and all other tricks. Any help is greatly appreciated. I even tried using the TD_NORMALIZE_OVERLAP_MEET by adding a day to the end date but that messed up the data differently. So I have to adhere to the dates but merge the dates in a way they are combined to have the Min start date of the lowest consecutive period and the max end date of the highest consecutive period.