By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
6 rows affected
rst | Sequence | Subset |
---|---|---|
null | 1 | A |
null | 2 | A |
null | 3 | A |
1 | 4 | B |
null | 5 | B |
1 | 6 | A |
grp | rst | Sequence | Subset |
---|---|---|---|
0 | null | 1 | A |
0 | null | 2 | A |
0 | null | 3 | A |
1 | 1 | 4 | B |
1 | null | 5 | B |
2 | 1 | 6 | A |
Warning: Null value is eliminated by an aggregate or other SET operation.
number | sequence | subset |
---|---|---|
1 | 1 | A |
2 | 2 | A |
3 | 3 | A |
1 | 4 | B |
2 | 5 | B |
1 | 6 | A |
Warning: Null value is eliminated by an aggregate or other SET operation.