Bit of a newbie at all this. I understand simple relationships, but some confuse me. I've looked at other posts in forums, downloaded sample databases, but not been able to find anything quite like this? I've come across this problem before, and am not sure how to resolve it..
A simple music database, tables as below (there'll be a bit more to it than this, but not much - my requirements are quite simple):
tblArtist
ArtistID
Artist
tblRecording (CD/Album)
RecordingID
Recording
ArtistID (recording artist)
tblTracks
TrackID
Track
RecordingID
ArtistID (track artist)
If the Recording is a various artists, I plan to have an Artist called Various Artists for the Recording, and then the tracks will have the individual Artists against them.
When I draw this out, 1 artist to many recordings, 1 recording to many tracks, but then I've also got a 1 artist to many tracks - hence my "Triangle".
Can tables be related like this in a triangle, or will this cause problems when I try to retrieve data through queries later on?
Perhaps I haven't planned this well - for example I've seen other posts mention a linking table between the artist and the other tables - but surely this will simply move the triangle to be between the link table, recording table and track table?
Any help would be appreciated.
A simple music database, tables as below (there'll be a bit more to it than this, but not much - my requirements are quite simple):
tblArtist
ArtistID
Artist
tblRecording (CD/Album)
RecordingID
Recording
ArtistID (recording artist)
tblTracks
TrackID
Track
RecordingID
ArtistID (track artist)
If the Recording is a various artists, I plan to have an Artist called Various Artists for the Recording, and then the tracks will have the individual Artists against them.
When I draw this out, 1 artist to many recordings, 1 recording to many tracks, but then I've also got a 1 artist to many tracks - hence my "Triangle".
Can tables be related like this in a triangle, or will this cause problems when I try to retrieve data through queries later on?
Perhaps I haven't planned this well - for example I've seen other posts mention a linking table between the artist and the other tables - but surely this will simply move the triangle to be between the link table, recording table and track table?
Any help would be appreciated.