Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Theoretical definition for the number of unique values?

Re: Theoretical definition for the number of unique values?

From: Larry Coon <lcnospam_at_assist.org>
Date: Thu, 12 Apr 2007 11:31:41 -0700
Message-ID: <461E7B0D.7421@assist.org>


sqlservernewbie_at_yahoo.com wrote:

> In databases, we have:
>
> Relation
> a table with columns and rows
>
> Attribute
> a named column/field of a relation
>
> Domain
> a set of allowable values for one or more attributes
>
> Tuple
> a row of a relation
>
> Degree
> the number of attributes a relation contains
> Number of fields in a table
>
> Cardinality
> the number of tuples/rows a relation contains
>
> But!
>
> What is the definition for the number of unique values in a field?
>
> So, if you have 100 rows in a table, and the field is
> the gender field, with only values of: M, F.
> The result is 2 unique values.
>
> What do we call this concept?
> "the number of unique values in a column?"
>
> Is there one?

Using your definitions, it'd probably be "the cardinality of the domain."

Larry Coon
University of California Received on Thu Apr 12 2007 - 13:31:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US