Hi i am researching a way to create a relation db with a structure as follows
Parent
-Child 1
-Grand Child 1
-Child 2
-Grand child 2
But grand child 2 can be also part of child 1
If a parent can have n children and the child can have n grand children that is fine it is pretty simple using RMDBS.
The problem comes up when you want to go 'n' deeper with grand grand children and grand children can be part of multiple children.
A good example is ebay categorization of their products.
What is the right way to create a dynamic tree/web like this in the database?