表只有列
|id|Name|Parent
父是表的根
结果要求
|Parent|child_id|Ancestral_Level
Child_ids父母所有后继子女
是他们在5.6上尽可能简单的方法吗?
更新
现在我只需要深度水平百分比