By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id | item_name | parent_id | lvl | path_index | list_order |
---|---|---|---|---|---|
1 | Pois | 0 | 0 | 1 | 4 |
2 | Então | 0 | 0 | 2 | 5 |
3 | Teste | 0 | 0 | 3 | 3 |
11 | Teste 3 | 3 | 1 | 3.1 | 2 |
12 | Teste 2 | 3 | 1 | 3.2 | 0 |
13 | Teste 1 | 3 | 1 | 3.3 | 1 |
4 | Fundo | 0 | 0 | 4 | 2 |
7 | Profundo | 4 | 1 | 4.1 | 1 |
8 | Dhdhd | 4 | 1 | 4.2 | 0 |
9 | Gagagaga | 8 | 2 | 4.2.1 | 1 |
10 | Fsfsfsfs | 8 | 2 | 4.2.2 | 0 |
5 | Profundo | 0 | 0 | 5 | 1 |
6 | Gigante | 0 | 0 | 6 | 6 |
14 | Teste | 0 | 0 | 7 | 0 |