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;
作者:田大才子2019-2-22 13:48分类: 其他 标签: SQLSERVER2008
个人公众号,希望您的关注~
发表评论: