By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
not an error
id | item_name | parent_id | list_order | ord |
---|---|---|---|---|
14 | Teste | 0 | 0 | 0 |
5 | Profundo | 0 | 1 | 1 |
4 | Fundo | 0 | 2 | 2 |
8 | Dhdhd | 4 | 0 | 2.0 |
10 | Fsfsfsfs | 8 | 0 | 2.0.0 |
9 | Gagagaga | 8 | 1 | 2.0.1 |
7 | Profundo | 4 | 1 | 2.1 |
3 | Teste | 0 | 3 | 3 |
12 | Teste 2 | 3 | 0 | 3.0 |
13 | Teste 1 | 3 | 1 | 3.1 |
11 | Teste 3 | 3 | 2 | 3.2 |
1 | Pois | 0 | 4 | 4 |
2 | Então | 0 | 5 | 5 |
6 | Gigante | 0 | 6 | 6 |