I have this table with the columns id, name, path.
What I need is for the path chain to take the value of the id and replace them with the name, thus remaining
| ID | name | path | path2
|----|----------------------------|-------|------------
| 1 | Training | /1 | /Training
| 2 | 1438 - Hutsville, AL, USA | /1/4/2| /Training/Plants/1438 - Hutsville, AL, USA
| 4 | Plant | /1/4 | /Training/Plants
| 5 | Corporate Quality | /1/5 | /Training/Corporate Quality
| 6 | Orientation | /1/5/6| /Training/Corporate Quality/Orientation
Any suggestions I can use?
Greetings