with cte as(
select bianma,fjbm from #tree where chkDisabled='true'
union all 
select t.bianma,t.fjbm from cte c inner join #tree t on c.fjbm=t.bianma
)
select * from cte;

 

相关文章:

  • 2021-09-02
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-10-28
  • 2021-11-23
猜你喜欢
  • 2021-11-23
  • 2021-12-15
  • 2021-05-31
  • 2022-02-05
  • 2022-02-28
  • 2022-12-23
相关资源
相似解决方案