With Modifier
Select statement that uses the WITH modifier with a list of several named queries also known as common table expressions (CTEs).
with recursive n1(c1) as (select c1, c3 from t2, n1),
n2(c2) as (select c2 from tablex)
SELECT * FROM t1;WITH RECURSIVE t2(c2) AS
(
SELECT c2 FROM PUBLIC.tablex
),
t1(c1) AS
(
SELECT c1, c3 FROM t2
)
SELECT * FROM t1;Known Issues
1. Impossible to reorder when cycles were found
Related EWIs
Last updated
Was this helpful?