By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
8.0.30 |
Records: 8 Duplicates: 0 Warnings: 0
num |
---|
6 |
Records: 4 Duplicates: 0 Warnings: 0
num |
---|
count(num) | num |
---|---|
2 | 8 |
2 | 6 |
2 | 5 |
2 | 4 |
2 | 3 |
2 | 1 |
count(num) | num |
---|---|
2 | 8 |
2 | 6 |
2 | 5 |
2 | 4 |
2 | 3 |
2 | 1 |
0 | null |
count(num) | count(*) | num |
---|---|---|
2 | 2 | 8 |
2 | 2 | 6 |
2 | 2 | 5 |
2 | 2 | 4 |
2 | 2 | 3 |
2 | 2 | 1 |
0 | 1 | null |
num |
---|
null |