Database Design Question - Categories / Subcategories
问题 I have a question for how I would design a few tables in my database. I have a table to track Categories and one for Subcategories: TABLE Category CategoryID INT Description NVARCHAR(500) TABLE Subcategory SubcategoryID INT CategoryID INT Description NVARCHAR(500) A category might be something like Electronics, and its Subcategories might be DVD Players, Televisions, etc. I have another table that is going to be referencing the Category/Subcategory. Does it need to reference the SubcategoryID