I\'m struggling to remove item from recursive array if parent id don\'t match. All I want to display separate tree for each tree number. I didn\'t find any solution with SQL so