• Hi, Cool stuff this CTE, but I have a question about the example.

    Suppose I want to return not only the leaf-to-parent relation, but also any subparent-to-parent? For example, b -> c (level 0), b -> d (level 1) and c -> d (level 0)?

    Thanks in advance!