I often find that I spend a lot of time figuring out why certain SUM () aggregates are mistakenly summed in SQL queries. This problem often occurs if I don't care about adding a JOIN, which results in duplicate values being summarized, etc. If I work with a large query with a large number of JOINs, nested subqueries, GROUP BY, etc., Everything is very difficult to debug.
I would like to know if there is a tool that will simplify the collection and debugging of complex queries, graphically illustrating the summarized data, combining them, etc.
An example of what I'm looking for is illustrated in http://www.imada.sdu.dk/~sorenh07/misc/datacentric-querytool.png
This, of course, is only an early layout, and I'm interested in any comments related to this.
source share