sql parent child tree with sort order

后端 未结 2 652
Happy的楠姐
Happy的楠姐 2021-01-16 11:01

Assuming this table

ParentId    ChildId    SortOrder
---------------------------------
0           1          0
1           2          1
2           3                


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-16 11:17

    sounds almost identical to another I answered here You'll have to alter the order by a little.

提交回复
热议问题