Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 5485

The development of the conceptual schema and/or the logical model and/or the physical settings of a database.

1 vote

database schema for a product with multiple categories and hierarchical categories

Another option (although I'm not 100% sure myself) I would consider, is to have different tables for different types of categories. For example, a table color would store red, yellow, etc; another …
Rafa's user avatar
  • 211
10 votes

Should we add extra 5 columns or build a separate table?

The decision does not depend on the number of columns you already have, but on whether those 5 columns do belong to what you are trying to model. There is no rule that says: "if you have 10 columns, k …
Rafa's user avatar
  • 211