By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
18 rows affected
Id | ParentId | Table3Id |
---|---|---|
1 | null | 40 |
2 | 1 | 40 |
3 | 1 | 40 |
4 | null | 41 |
5 | 4 | 41 |
6 | 4 | 41 |
7 | null | 42 |
8 | 7 | 42 |
9 | 8 | 42 |
18 rows affected
Id | ParentId | Table3Id |
---|---|---|
1 | null | 40 |
2 | 1 | 40 |
3 | 1 | 40 |
4 | null | 41 |
5 | 4 | 41 |
6 | 4 | 41 |
7 | null | 42 |
8 | 7 | 42 |
9 | 8 | 42 |