From: gv on
Hi all,

Using the "Nested set model" how do you find the level 1 parent node in the
highest point of the tree no matter how deep the child node is?

thanks CELKO for the several post on nested set model..

thanks
gv


From: --CELKO-- on
>> find the level 1 parent node in the highest point of the tree no matter how deep the child node is? <<

That is the root;

SELECT node_id
FROM Tree
WHERE lft =1;

This is probably not the question you were trying to ask.