Text this: Joe Celko's Trees and hierarchies in SQL for smarties /