related categories - database design
Posted
by mike
on Stack Overflow
See other posts from Stack Overflow
or by mike
Published on 2010-05-10T17:38:29Z
Indexed on
2010/05/10
17:44 UTC
Read the original article
Hit count: 175
database-design
|database
Hello!
I'm looking for a little database design advice...
I have a spreadsheet with a few columns in it. Column 1 being a list of categories and the rest being related categories(to the category in column 1). I'm trying to figure out what the best way to setup the tables would be... My thought so far is to have a table that just lists the categories then have a table with 2 columns that holds the id of the category and the id of a related category.... Would this be the best way to do this? Any better ideas?
© Stack Overflow or respective owner