add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.

id dt date_diff grp
1 2023-12-10 0 0
2 2023-12-11 0 0
3 2023-12-12 0 0
4 2023-12-16 1 1
5 2023-12-17 0 1
6 2023-12-25 1 2
7 2023-12-26 0 2
id dt date_diff grp
6 2023-12-25 1 2
7 2023-12-26 0 2
COUNT(*)
2