Home > database >  The MySQL cascade query tree structure, can provide some way to achieve the best ~
The MySQL cascade query tree structure, can provide some way to achieve the best ~

Time:10-09



As shown in figure, the red box for the current child nodes under all statistical quantity, how can pass the results to the parent node, as need to pass the results of the 1491 to 1489148 9 contains the node and the related all child nodes of outcomes (i.e., the current node need to statistics the sum total of the current node and the child nodes), to ask if to do! Thank you very much!

CodePudding user response:

Well, now is a statistical complete bottom results, but the corresponding parent structure can't statistics, please give a train of thought, thank you!
  • Related