| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Ternary Relationship cardinality
I know what cardinality is... and I know how to implement it
My problem is with the notation for a particular Ternary relationship.
(Supertype) [Parent]------[0..*]----- <Breeding> ----[1..1]--------[Child](subtype)
|-------------[0..*]------------|
The prob is when I use the N:1 notation..my first reaction would be to do something like this:
(Supertype) [Parent]------1-----
<Breeding>-----M-------[Child](subtype)
|-------------1------------|
However that doesn't make sense since ParentA can be related to Many ParentB's and viceversa. (don't think of the normal parent-child scenario.. it's a game and the relationship is the actual act of breeding)
PS I'm using Chen notation
PS2. After a day at work followed by 2 hours of transaction schedules
.. I really couldn't give a damn about spelling&grammar..
Jonathan Leffler wrote:
> miklesw_at_gmail.com wrote:
> > I am working on an assignment which has 2 ternary relationship. I'm
> > can't figure out their cardinality.
> >
> > Maybe I am going through one of those mental blocks...
> >
> > Can someone give me some cardinality examples for N-ary relationships?
> > all the pics i found on google images don't include this..
>
>
>
>
>
>
>
>> Email: jleffler_at_earthlink.net, jleffler_at_us.ibm.com
> --
> Jonathan Leffler #include <disclaimer.h>
![]() |
![]() |