I have the following question that I would like to solve, I have three sql tables that contain data in reference to each other, to create a parent-child hierarchy, as in the