By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 8
| account_id | segment | quota | segment_rank |
|---|---|---|---|
| 1 | 1 | 2 | 1 |
| 2 | 1 | 2 | 1 |
SELECT 2
CREATE TABLE
INSERT 0 8
| account_id | segment | quota | segment_rank |
|---|---|---|---|
| 1 | 1 | 2 | 1 |
| 2 | 1 | 2 | 1 |
SELECT 2