S
sftwrdvlpr
I need to design a database with multiples tables. Here's the scenario. I
have a table that's filled with the names of music CD's. Very similar to
CDDB. I want to have a group of people access my database and select CD's
that they have in their collection from this table. Their list would be
displayed on their computer from this database. They would be able to
catagorize their CD's such as Rock, Pop, Movies, etc.
The information that I need to store would be the user name, the ID of the
CD in the CD database, the location of the CD and whether in a Catagory or
not, the different Catagory names (the names can be duplicated but they need
to be specific to each user), and the location of the Catagories if a
Catagory is inside another Catagory (e.g. Male Singer inside of Rock
Catagory).
So an example of the structure of the output would be:
User1
CD1
CD2
User1Catagory1
CD3
User1Catagory2
CD4
CD5
CD6
User2
CD7
CD1
User1Catagory1
CD4
CD2
and so on...
There would be thousands of users and the tables would be very large.
Obviously, just creating a different table for each of the above would be a
piece of cake, but how to tie it all together in an efficient manner is the
key. I don't think creating a new table for each user is the right way to
do it.
Any ideas?
Thanks,
Fred
have a table that's filled with the names of music CD's. Very similar to
CDDB. I want to have a group of people access my database and select CD's
that they have in their collection from this table. Their list would be
displayed on their computer from this database. They would be able to
catagorize their CD's such as Rock, Pop, Movies, etc.
The information that I need to store would be the user name, the ID of the
CD in the CD database, the location of the CD and whether in a Catagory or
not, the different Catagory names (the names can be duplicated but they need
to be specific to each user), and the location of the Catagories if a
Catagory is inside another Catagory (e.g. Male Singer inside of Rock
Catagory).
So an example of the structure of the output would be:
User1
CD1
CD2
User1Catagory1
CD3
User1Catagory2
CD4
CD5
CD6
User2
CD7
CD1
User1Catagory1
CD4
CD2
and so on...
There would be thousands of users and the tables would be very large.
Obviously, just creating a different table for each of the above would be a
piece of cake, but how to tie it all together in an efficient manner is the
key. I don't think creating a new table for each user is the right way to
do it.
Any ideas?
Thanks,
Fred