0

here's my problem: I have... "Enterprises" and that enterprises have their own providers, but those providers could have their own providers too and so on..., and also, an enterprise could be a "provider" of another enterprise or provider...

How could I design that on DB? I was thinking about to use graphs databases, but I don't know wheter is a good idea or not..

jmunguia
  • 11
  • 2
  • 2
    https://stackoverflow.com/questions/4048151/what-are-the-options-for-storing-hierarchical-data-in-a-relational-database – PM 77-1 Feb 02 '18 at 17:28
  • Possible duplicate of [What are the options for storing hierarchical data in a relational database?](https://stackoverflow.com/questions/4048151/what-are-the-options-for-storing-hierarchical-data-in-a-relational-database) – philipxy Feb 02 '18 at 22:16
  • Even when you have decided on a representation, what will you do with the data? The `SELECTs` can be messy. – Rick James Feb 10 '18 at 04:24

0 Answers0