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.
hotel_id customer_id visit_date prev_vd grp
1 1 2020-01-01 null 1
1 2 2020-01-03 2020-01-01 1
2 1 2020-01-01 null 1
2 2 2020-01-10 2020-01-01 2
2 3 2020-01-14 2020-01-10 3
3 1 2020-01-04 null 1
3 1 2020-01-11 2020-01-04 2