| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Relation Definition
Alfredo Novoa wrote:
> On Sun, 20 Feb 2005 11:22:29 GMT, Jan Hidders
> <jan.hidders_at_REMOVETHIS.pandora.be> wrote:
>> >>That definition is problematic for several reasons: (1) What is exactly >>a "set of named typed attributes"?
That definition would allow two pairs with the same name.
>>Def. [Relation type] A *relation type* is a partial function that maps >>column names to domains and is defined for a finite set of column names.
Of course. I didn't say his definition is incorrect.
>>Def. [Instance] A *relation is an instance of a relation type* if it >>holds for all tuples in the relation that (1) they are defined for the >>same set of column names as the relation type and (2) they associate >>column names with an element of the domain that the relation type >>associates it with.
The definition doesn't define what an instance is, it defines the instance-of relationship between relations and relation types.
>>Def. [Relation] A *relation* is a set of tuples that all have the same >>header.
No we don't. It means their headers, as defined earlier on, are the same.
![]() |
![]() |