http://www.postgresonline.com/journal/archives/131-Using-Recursive-Common-table-expressions-to-represent-Tree-structures.html Tree Problem and was based on PostgreSQL 7.4 technology. We'll repeat the text here for completeness and demonstrate the Pos