Inuk
PPrisma
•Created by Inuk on 7/24/2024 in #help-and-questions
Recursive CTE
Hello all, I'm trying to make a recursive query, but I'm not sure where to start?
I have something like the following model:
And am looking to make a query that flattens this hierachy like the following example found on postgres' official docs:
My current two ideas is to use either raw SQL queries or make views, any thoughts?
4 replies