x_TimeGenerated batch_number
22/03/2023 BATCH_1
21/03/2023 BATCH_1
20/03/2023 BATCH_1
19/03/2023 BATCH_1
18/03/2023 BATCH_1
18/03/2023 BATCH_2
17/03/2023 BATCH_2
16/03/2023 BATCH_2
15/03/2023 BATCH_2
14/03/2023 BATCH_2
14/03/2023 BATCH_3
13/03/2023 BATCH_3
12/03/2023 BATCH_3
11/03/2023 BATCH_3
10/03/2023 BATCH_3
I am processing data in batches & there are duplicate dates in each of the consecutive batches. For example both batch_1 & batch_2 has 18/03/2023 & batch_2 & batch_3 both has 14/03/2023.There are multiple records associated with each date so 14/03/2023 for instance has 250 records & so on. I want to remove all records of 18/03/2023 from batch_2 & 14/03/2023 from batch_3 to get rid of duplicate records. How can this be done ?