add batch remove batch split batch comment selection show hidden batches hide batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
14 rows affected
value created_at id customer_id order_id Grp
23.0000 null 1 1 1 1
0.0000 null 2 1 2 1
0.0000 null 3 1 3 1
10.0000 null 5 1 5 2
0.0000 null 6 1 6 2
0.0000 null 7 1 7 2
0.0000 null 8 1 8 2
0.0000 null 4 2 4 0
0.0000 null 9 2 9 0
0.0000 null 10 2 10 0
27.0000 null 11 2 11 1
0.0000 null 12 2 12 1
0.0000 null 13 2 13 1
0.0000 null 14 2 14 1
Warning: Null value is eliminated by an aggregate or other SET operation.

value customer_id count of 0.00
23.0000 1 2
10.0000 1 3
27.0000 2 3
Warning: Null value is eliminated by an aggregate or other SET operation.