Shamshad Ali (1/6/2012)
Hello chrisM@home,There is one scenario in which the query is not returning me expected data when there is no any Parent exists in groupAssociation table ....
Since you already have entities in the groupAssociation table which have no parent, shouldn't these be in the groupAssociation table also?
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]