By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
9 rows affected
| folderId | parentFolderId | myColumn |
|---|---|---|
| 1 | null | MyValue1 |
| 2 | null | MyValue1 |
| 3 | 1 | MyValue1 |
| 6 | null | MyValue1 |
| 10 | 6 | MyValue1 |
9 rows affected
| folderId | parentFolderId | myColumn |
|---|---|---|
| 1 | null | MyValue1 |
| 2 | null | MyValue1 |
| 3 | 1 | MyValue1 |
| 6 | null | MyValue1 |
| 10 | 6 | MyValue1 |