Joe Celko's Trees and hierarchies in SQL for smarties - Celko, Joe. (Morgan Kaufmann,)