3 ms·There is an excellent book on this subject, "Joe Celko's Trees and Hierarchies in SQL for Smarties".by sitkack 10y agoThere is an excellent book on this subject, "Joe Celko's Trees and Hierarchies in SQL for Smarties".