I need your help, please.
How can a python mysql hierarchical database be made with a limited number of levels (9 levels)?
Please tell me the algorithm, I have been tormented with this for a long time, but it does not work out as expected
Or, if possible, tell me please analogues of this situation in python