I have a project to create an e-commerce, in which my doubt refers to the modeling of the tables:
Category (ROOT)> sub-categories> sub-categories of the sub-category.
How should these tables be, where a product can be within categories (root), and in them may also be in sub-categories. The tables would have to be able to work like the print below, it follows:
HereisanexampleofwhatIdid: