首页 > 技术文章 > 查询树节点及其所有下级节点sql语句

Hawk-cyc 2018-06-13 14:34 原文

select ID from 表名start with id =节点id connect by prior id= parentid

其中id为表中id标识,parentid为父节点id标识

推荐阅读