samuurai
11-20-2007, 04:45 PM
Hi,
I'm creating a music database and I just need a bit of advise regarding design, being fairly new to database design and just need some of my ideas confirmed.
I'm thinking of having three tables.
Tracks
Albums
Artists
However, I will most likely have a lot of duplicated data if I populate the Albums table with all the tracks, because at the end of the day, the Albums have tracks.
So what i'm wondering is, in the Albums table, should I have a text field with comma seperated pointers to the Track_ID of all the tracks included with the album? Or should I have the data duplicated into the Albums table?
What approach would you use?
I'm creating a music database and I just need a bit of advise regarding design, being fairly new to database design and just need some of my ideas confirmed.
I'm thinking of having three tables.
Tracks
Albums
Artists
However, I will most likely have a lot of duplicated data if I populate the Albums table with all the tracks, because at the end of the day, the Albums have tracks.
So what i'm wondering is, in the Albums table, should I have a text field with comma seperated pointers to the Track_ID of all the tracks included with the album? Or should I have the data duplicated into the Albums table?
What approach would you use?