silicontoadet
Programmer
Hi,
I'm new to mysql and databases in general, I've created two tables, one for "user" and one for "tracks" lets say:
user(userID, name, email)
track(trackID, name)
Let's say I have 100 users and each user buy's 1000 tracks, at the moment my user table is like so:
user(userID, name, email, tracks)
where tracks is a comma separated list of id's. Something just doesn't feel right about this, any suggestions for the best approach on this.
Thanks
Toad
I'm new to mysql and databases in general, I've created two tables, one for "user" and one for "tracks" lets say:
user(userID, name, email)
track(trackID, name)
Let's say I have 100 users and each user buy's 1000 tracks, at the moment my user table is like so:
user(userID, name, email, tracks)
where tracks is a comma separated list of id's. Something just doesn't feel right about this, any suggestions for the best approach on this.
Thanks
Toad