Treimin Clark wrote:Dear Campbell,
Thanks a lot for your great explanation.
By the way, as you said with the child-to-parent example, it seems that every many-to-one relationship has an opposite one-to-many relationship too. Am I correct on this?
I think you have to be a little careful here... a bank has a one-to-many relationship to it's account holders. But any of those account holders may have accounts at other banks. So it's a one-to-many one way, but it could be many-to-many going back.
at least, that's what I think.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors