Hi,I've been dabbling with the nested model set and have managed to get the basics going.I was using this article: http://www.developer.com/db/article.php/10920_3517366_1With the database:CREATE TABLE BreadCrumbLinks(SiteAreaName CHAR(32) NOT NULL PRIMARY KEY,SiteAreaUrl CHAR(32) NOT NULL,Lft INTEGER NOT NULL,Rgt INTEGER NOT NULL);
Within this article it explains how to display hte heirachi of any node:SELECT C.*FROM BreadCrumbLinks AS B, BreadCrumbLinks AS CWHERE (B.Lft BETWEEN C.Lft AND C.Rgt)AND (B.SiteAreaName = 'Ping)ORDER BY C.Lft
this is all working fine. But the I can't figure out the SQL to display a full tree of all nodes and paths as one statement.Does anyone know how to achieve this?Thanks,Richard