×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Could you sketch the file layouts involved? I'm not sure how the "sub-detail" record is supposed to relate...
-Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Stone, Joel
Sent: Wednesday, April 03, 2013 2:16 PM
To: Midrange Systems Technical Discussion
Subject: SQL: how to join and roll up THREE levels
Wow this has been an overwhelming response and thanks to all for so many creative ideas.
I was expecting one good method but there seem to be many.
Now I have to roll up THREE levels; Hdr, DTL, and sub-DTL.
I thought that I could use the join ideas presented here, but it seems that the SUM() functions duplicate rows in three levels and the sums are multiples of what is required.
Can any of the examples using TWO levels (HDR & DTL) be expounded upon to add a third level?
Or is there a better way to make this happen?
I like things simple - is there a way to accomplish this in steps so it is simple and I can understand what I did a month from now?
Thanks
______________________________________________________________________
This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit
http://www.symanteccloud.com
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.