modeling many to many unary relationship and 1:M unary relationship
问题 Im getting back into database design and i realize that I have huge gaps in my knowledge. I have a table that contains categories. Each category can have many subcategories and each subcategory can belong to many super-categories. I want to create a folder with a category name which will contain all the subcategories folders. (visual object like windows folders) So i need to preform quick searches of the subcategories. I wonder what are the benefits of using 1:M or M:N relationship in this