Path: text.usenetserver.com!out04a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!j4g2000prf.googlegroups.com!not-for-mail
From:  Vadim Tropashko <vadimtro_invalid@yahoo.com>
Newsgroups: comp.databases.theory
Subject: Re: Relational symmetric difference is well defined
Date: Fri, 15 Jun 2007 14:53:16 -0700
Organization: http://groups.google.com
Lines: 35
Message-ID: <1181944396.435969.12660@j4g2000prf.googlegroups.com>
References: <1178906218.730017.104110@y5g2000hsa.googlegroups.com>
   <1180475279.677392.228870@z28g2000prd.googlegroups.com>
   <f3j5j3$r00$1@orkan.itea.ntnu.no>
   <1180541913.456880.32900@g37g2000prf.googlegroups.com>
   <1180583579.392503.216580@o11g2000prd.googlegroups.com>
   <1180628927.976321.267880@a26g2000pre.googlegroups.com>
   <Xns9941DCB7E1855vdghher@194.177.96.26>
NNTP-Posting-Host: 148.87.1.171
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1181944397 1306 127.0.0.1 (15 Jun 2007 21:53:17 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 15 Jun 2007 21:53:17 +0000 (UTC)
In-Reply-To: <Xns9941DCB7E1855vdghher@194.177.96.26>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 inet-nc02 (NetCache NetApp/5.6.2R1D19)
Complaints-To: groups-abuse@google.com
Injection-Info: j4g2000prf.googlegroups.com; posting-host=148.87.1.171;
   posting-account=2WgjWgwAAABr6Be8TvmMtJT3Qcj_MnoS
Xref: usenetserver.com comp.databases.theory:165215
X-Received-Date: Fri, 15 Jun 2007 17:53:17 EDT (text.usenetserver.com)

On May 31, 6:40 pm, "V.J. Kumar" <vjkm...@gmail.com> wrote:
> Vadim Tropashko <vadimtro_inva...@yahoo.com> wrote innews:1180628927.976321.267880@a26g2000pre.googlegroups.com:
>
> > On May 30, 8:52 pm, Marshall <marshall.spi...@gmail.com> wrote:
> >> Can you clarify the difference between set containment join and set
> >> equality join? The inverse of join is much on my mind these days.
>
> > Set equality join
>
> > A(x,y)/=B(y,z)  is  {(x,z)| {y|A(x,y)}={y|A(y,z)} }
>
> > Set containment join
>
> > A(x,y)/=B(y,z)  is  {(x,z)| {y|A(x,y)}>{y|A(y,z)} }
>
> > where the ">" is "subset of".
>
> The above formulas obviously are no longer first-order expressions.  
> Along with the increased expressive power (e.g. it's trivial to define a
> powerset),  you will reap the usual drawbacks of the higher order logic.

Well, natural join is the second order expression too:

A(x,y)/\B(y,z)  is  {(x,z)| {y|A(x,y)}intersect{y|A(y,z)} != {} }

So having the second order definition is not necessarily that bad.

The situation may be analogous to the fundamental theorem of algebra,
which states that the complex numbers field is algebraically closed.
The most common proof of the theorem (by Gauss) depends on the
analytic structure of C and uses second order arguments. However, one
can give a first order, purely algebraic proof of more general result
that if R is any real closed field, then C=R[i] is algebraically
closed.

