By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
19 rows affected
store_id | city_id | store_type | grp |
---|---|---|---|
51 | 1 | express | 4 |
55 | 1 | express | 4 |
58 | 1 | express | 4 |
70 | 1 | express | 4 |
1 | 1 | regular | 0 |
2 | 1 | regular | 0 |
3 | 1 | regular | 0 |
50 | 1 | regular | 0 |
91 | 1 | regular | 10 |
95 | 1 | regular | 10 |
97 | 1 | regular | 10 |
100 | 1 | regular | 10 |
105 | 1 | regular | 10 |
71 | 2 | regular | 8 |
75 | 2 | regular | 8 |
78 | 2 | regular | 8 |
80 | 2 | regular | 8 |
85 | 2 | regular | 8 |
90 | 2 | regular | 8 |
min_store_id | max_store_id | city_id | store_type |
---|---|---|---|
1 | 50 | 1 | regular |
51 | 70 | 1 | express |
71 | 90 | 2 | regular |
91 | 105 | 1 | regular |