Hierarchy filtering using SQL I have 3 example tables in my database as below: (1) Org Chart (2) User (3) Invoice