By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 4 Duplicates: 0 Warnings: 0
ID | ParentID |
---|---|
1 | null |
2 | 1 |
3 | 2 |
4 | 3 |
2 | 1 |
3 | 2 |
4 | 3 |
3 | 2 |
4 | 3 |
4 | 3 |
Records: 4 Duplicates: 0 Warnings: 0
ID | ParentID |
---|---|
1 | null |
2 | 1 |
3 | 2 |
4 | 3 |
2 | 1 |
3 | 2 |
4 | 3 |
3 | 2 |
4 | 3 |
4 | 3 |