select t.* from smart_post t where t.smt_idcode like '0/101%' START WITH t.smt_parent_no=0
CONNECT BY PRIOR t.smt_id=t.smt_parent_no order by smt_idno
sql 树查询
最新推荐文章于 2024-09-18 18:19:46 发布
select t.* from smart_post t where t.smt_idcode like '0/101%' START WITH t.smt_parent_no=0
CONNECT BY PRIOR t.smt_id=t.smt_parent_no order by smt_idno