By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
8 rows affected
param | val | cnt |
---|---|---|
2 | 1 | 2 |
9 | 4 | 3 |
10 | 4 | 3 |
4 | 3 | 2 |
val | a_val | a_cnt |
---|---|---|
2 | 1 | 2 |
4 | 3 | 2 |
9 | 4 | 3 |
10 | 4 | 3 |
Warning: Null value is eliminated by an aggregate or other SET operation.