Subject Efficiently find records from a self join without children records or a field=1
Author Bhavbhuti Nathwani
Hi all

I have a self-joined table to represent a hierarchical structure. Now I want a list of records that do not have children records (leaf nodes) or specifically records that have a field with a value of 1 (even though there are children recoards for them)

Thanks and regards.

Bhavbhuti