Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
From: "Mikito Harakiri" <mikharakiri_nospaum@yahoo.com>
Newsgroups: comp.databases.theory
Subject: Re: How can I proove associtivity of natural in relational algebra?
Date: 22 Nov 2005 09:14:09 -0800
Organization: http://groups.google.com
Lines: 32
Message-ID: <1132679649.286967.181270@z14g2000cwz.googlegroups.com>
References: <1132600745.585631.296500@g14g2000cwa.googlegroups.com>
   <1132603845.384888.67090@g44g2000cwa.googlegroups.com>
   <1132608177.118486.76820@g14g2000cwa.googlegroups.com>
   <1132608953.263060.39140@g44g2000cwa.googlegroups.com>
   <1132659655.553806.227340@g49g2000cwa.googlegroups.com>
NNTP-Posting-Host: 70.137.170.3
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1132679654 21469 127.0.0.1 (22 Nov 2005 17:14:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 22 Nov 2005 17:14:14 +0000 (UTC)
In-Reply-To: <1132659655.553806.227340@g49g2000cwa.googlegroups.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=70.137.170.3;
   posting-account=jduQMA0AAABKdEh0L1SEqrR3hnlHUlAG
Xref: dp-news.maxwell.syr.edu comp.databases.theory:34559


Filter911 wrote:
> Mikito Harakiri wrote:
> > Filter911 wrote:
> > > Mikito Harakiri wrote:
> > > > Filter911 wrote:
> > > > > Can someone give me a link for a full proof or something?
> > > >
> > > > Given relations A,B, and C, expand each realtion into a (possibly
> > > > infinite) relations A', B', and C' with the same set of attributes
> > > > (which is the union of the attribute sets for A, B, and C). Then, the
> > > > join of A, B and C is the intersection of A', B', and C'. Intersection
> > > > is associative.
> > >
> > > What do you mean by "expand each relation"?
> >
> > "Extend", is the opposite of "project". E.g. the relation with a single
> > attribute
> >
> > A = {(a=1), (a=2)} is exended to the attribute set {a,b} with the
> > domain of attribute b being {7,8,9} as
> Extanding using what? Using B or C? or some new relation? any full
> example or link?
> If I use the union of the three then A=B=C and that's a prviate case

Find the set of all attributes in B and C which are not in A. Get
cartesian product of their respective domains. Cartesian product it
with A. This is how you get A'.

The other hint. Start with cartesian product (which is associative),
and show that selection doesn't affect associativity.

