数据库树形结构查询

数据库树形结构查询 Oracle实现方式 数据库树形结构,正反遍历   --从Root往树末梢递归 select level ,identity,pid from table_name start with identity=475 connect by prior identity = pid   --从末梢往树ROOT递归 select level ,identity,pid,yylevel
相关文章
相关标签/搜索