我需要联合两个不同的递归查询。有人认为:
with cte1 as
( select....
....
....
)
select * from cte1
union all
with cte2 as
( select....
....
....
)
select * from cte2
我该怎么做?我收到错误:关键字“WITH”附近的语法不正确。
你知道有什么解决方法吗?我试图通过互联网搜索,但我找不到它..
我需要联合两个不同的递归查询。有人认为:
with cte1 as
( select....
....
....
)
select * from cte1
union all
with cte2 as
( select....
....
....
)
select * from cte2
我该怎么做?我收到错误:关键字“WITH”附近的语法不正确。
你知道有什么解决方法吗?我试图通过互联网搜索,但我找不到它..