Solo pon el recursive
al principio, incluso si el recursivo viene después:
with recursive cte1 as (
...
), cte2 as (
-- here comes the recursive cte
...
)
select *
from ...
Solo pon el recursive
al principio, incluso si el recursivo viene después:
with recursive cte1 as (
...
), cte2 as (
-- here comes the recursive cte
...
)
select *
from ...