Re: Ternary Relationship cardinality
From: Jonathan Leffler <jleffler_at_earthlink.net>
Date: Tue, 19 Sep 2006 07:10:11 GMT
Message-ID: <nJMPg.3411$UG4.2842_at_newsread2.news.pas.earthlink.net>
Date: Tue, 19 Sep 2006 07:10:11 GMT
Message-ID: <nJMPg.3411$UG4.2842_at_newsread2.news.pas.earthlink.net>
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..
Cardinality = number of { rows, records, tuples } in a relation.
Count the number of 'rows' in the table - that's the cardinality.
Degree = number of { fields, columns, attributes }.
Ternary relations have degree 3 (or 'are of degree 3').
> My other option is to convert the 3-ary relationship into a weak
> entity.. but I'll definitely loose marks on that
> [...]
-- Jonathan Leffler #include <disclaimer.h> Email: jleffler_at_earthlink.net, jleffler_at_us.ibm.com Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/Received on Tue Sep 19 2006 - 09:10:11 CEST