0

I have a Table called "Level" which has a column, "idParent" that makes a self reference.

What I want to do is to retrieve a tuple with the entire hierarchy.. Something like this:

enter image description here

1 Answer 1

1

Recursive and hierarchical queries are not standard. Some databases support them, some don't, and the support varies.

See the link above for a backgrounder.

Sign up to request clarification or add additional context in comments.

2 Comments

I got @zbmq, thanks for your support. That wasn't what I was looking for, but may help at some point.
You can probably try and pivot the result of a recursive query and get what you wanted.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.