Re: Tree (forest) design
From: Mikito Harakiri <mikharakiri_at_iahu.com>
Date: Wed, 3 Mar 2004 09:26:50 -0800
Message-ID: <AIo1c.27$R03.91_at_news.oracle.com>
Date: Wed, 3 Mar 2004 09:26:50 -0800
Message-ID: <AIo1c.27$R03.91_at_news.oracle.com>
"Neo" <neo55592_at_hotmail.com> wrote in message
news:4b45d3ad.0403030710.7e2fd86c_at_posting.google.com...
> PS. I am still awaiting your solution to the problem posted in the
> "object algebra" thread.
0. Create hierarchy table with any known SQL-based method. 1. Select path to the root from node A ("Ancestors list" query). 2. Select path to the root from B. 3. Intersect 1 and 2. 4. Find the node most distant from the root in the result. (Hint: the nodeis the most distant if there is no node closer. Duh!)
Which of the steps 0-4 you don't quite understand? Do you want me to spell out *all* these steps? Received on Wed Mar 03 2004 - 18:26:50 CET