Gmail Calendar Documents Web Reader more »
Help | Sign in
Google Groups Home
Message from discussion Ternary Relationship cardinality

View parsed - Show only message text

Path: g2news2.google.com!news3.google.com!news.glorb.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!90a49e3f!not-for-mail
From: Jonathan Leffler <jleff...@earthlink.net>
Organization: Randomly Disorganized
User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909)
MIME-Version: 1.0
Newsgroups: comp.databases.theory
Subject: Re: Ternary Relationship cardinality
References: <1158605847.044728.267640@e3g2000cwe.googlegroups.com>
In-Reply-To: <1158605847.044728.267640@e3g2000cwe.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <nJMPg.3411$UG4.2842@newsread2.news.pas.earthlink.net>
Date: Tue, 19 Sep 2006 07:10:11 GMT
NNTP-Posting-Host: 68.164.83.115
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.news.pas.earthlink.net 1158649811 68.164.83.115 (Tue, 19 Sep 2006 00:10:11 PDT)
NNTP-Posting-Date: Tue, 19 Sep 2006 00:10:11 PDT

mikl...@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

You may also lose marks for misspelling 'lose' (and not using plurals, 
and using "I'm can't" for "I can't", etc).

 > [...]

-- 
Jonathan Leffler                   #include <disclaimer.h>
Email: jleff...@earthlink.net, jleff...@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google