3
I am modeling a database related to e-commerce and I have a question in the modeling of the tables of categories and subcategories of products.
At first I created two tables one of Categoria
and another of Subcategoria
. However, I found a article where the author says it is not necessary to create two tables. What it does basically is in the same table include the category code in the record which will be a subcategory.
What are the advantages of making a model with two tables or only one, as mentioned in the article?
See if anything helps here http://answall.com/search?tab=votes&q=categoria%20subcategory
– Maniero
I’ve worked with both models but I haven’t seen many differences between two or a table. The only good thing about using only one was to mount treeview
– Marco Souza