Replies: 1 comment 1 reply
-
Would WITH RECURSIVE help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there any equivalent function/query in Trino for "CONNECT BY PRIOR" / hierarchical query?
Below is the Oracle sql query that I want to migrate into Starburst Trino Version: 370-e.1
SELECT a.CHILD_ID
FROM HRCHY_MV a
CONNECT BY PRIOR CHILD_ID = PARNT_ID
START WITH a.PARNT_ID = 'EXT'
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions