教主的代言人
SQL SERVER 树结构查询
2019-2-22 田大才子
with subqry as (
select * from t_process 
WHERE business_id = '1fe6c42f373a4571b993df94989d9b87'
union all
select t_process.* from t_process,subqry
where t_process.parent_id = subqry.id
)
select * from subqry;
发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容