By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
value | avg2 |
---|---|
1 | 2 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 4 |
6 | 5 |
value | avg2 |
---|---|
1 | null |
2 | 1 |
3 | 1 |
4 | 2 |
5 | 3 |
6 | 4 |
6 rows affected
value | avg2 |
---|---|
1 | 2 |
2 | 2 |
3 | 3 |
4 | 4 |
5 | 4 |
6 | 5 |
value | avg2 |
---|---|
1 | null |
2 | 1 |
3 | 1 |
4 | 2 |
5 | 3 |
6 | 4 |