Re: [SQL] Summing & Grouping in a Hierarchical Structure

2013-02-14 Thread Alexander Gataric
I would try a recursive query to determine the category structure and aggregate as you go. I had a similar problem with a hierarchical structure for an organization structure. Another thing you might try is to create a separate CTE for

[SQL] Summing & Grouping in a Hierarchical Structure

2013-02-14 Thread Don Parris
Hi all, I posted to this list some time ago about working with a hierarchical category structure. I had great difficulty with my problem and gave up for a time. I recently returned to it and resolved a big part of it. I have one step left to go, but at least I have solved this part. Here is t