By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 12.17 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit |
SELECT 1
CREATE TABLE
ALTER TABLE
ALTER TABLE
INSERT 0 6
| id | kills | deaths | assists | gamemode | other1 | other4 | max_kills | max_deaths | max_assists | max_gamemode |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 3 | 1 | null | null | 7 | 12 | 27 | 3 |
| 2 | 1 | 0 | 2 | 2 | null | null | 7 | 12 | 27 | 3 |
| 3 | 1 | 12 | 0 | 3 | null | null | 7 | 12 | 27 | 3 |
| 4 | 7 | 2 | 27 | 1 | null | null | 7 | 12 | 27 | 3 |
| 5 | 1 | 4 | 27 | 2 | null | null | 7 | 12 | 27 | 3 |
| 6 | 2 | 3 | 1 | 3 | null | null | 7 | 12 | 27 | 3 |
SELECT 6