[转]生成无级树(sql函数)

Code
原文地址:https://www.cnblogs.com/acelove/p/1601785.html