| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: RM and definition of relations/tuples
Martin Zapf wrote:
> vc wrote: >
> > I also figured that out, a mathematical relations (subset of catesian > product) is ordered because the elements of a cartesian products are > ordered sets by definition.
I don't think so. The mathematical relation is an unordered set of ordered tuples. The cartesian product is a unordered set too - of ordered tuples to be sure.
I think of an ordered tuple as one where the elements are implicitly named by index number (position in the tuple); in comparison, a tuple in the relational model has explicitly named elements, and therefore they form a set of elements (one reason you can't have several attributes with the same name) and do not need to be explicitly ordered. I find this analogy/contrast helpful; you may or may not find it so.
> And yes I have to do some theoretical db stuff so Im asking myself: > If there are two definitions for the same thing, what is the universal > valid and precise definition for the RM? This two definitions cant come > out of nowhere, can they.
There are many definitions for many things. "Infinite are the arguments of mages" - a (mis?)quote from a sci-fi story. Similarly, different people in the DB world have different versions of the definition. There isn't any one universal truth.
-- 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 Sat Nov 26 2005 - 01:14:07 CST
![]() |
![]() |