--表tb 节点 id 父节点 pid ;with cte as ( select id,pid from tb where id = 1 union all select a.id,a.pid from tb a join cte b on a.pid = b.id ) select id from cte
34,590
社区成员
254,589
社区内容
加载中
试试用AI创作助手写篇文章吧