Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!q26g2000prq.googlegroups.com!not-for-mail
From: vadimtro@gmail.com
Newsgroups: comp.databases.theory
Subject: Re: Date and McGoveran comments on view updating 'problem'
Date: Thu, 11 Dec 2008 19:11:02 -0800 (PST)
Organization: http://groups.google.com
Lines: 35
Message-ID: <0f31d153-ffc2-46bc-ab84-a97e7a908151@q26g2000prq.googlegroups.com>
References: <Wve%k.3357$yK5.661@edtnps82> <2ac2d60f-c6fe-41df-be7f-0af7e756f9a9@x8g2000yqk.googlegroups.com> 
 <HFh%k.3668$si6.1490@edtnps83> <081b1071-3a78-46a7-b6fe-a6f142329c1f@b38g2000prf.googlegroups.com> 
 <16cb3800-af0a-4734-b890-c3ad173573ef@y1g2000pra.googlegroups.com>
NNTP-Posting-Host: 70.137.179.95
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1229051462 10008 127.0.0.1 (12 Dec 2008 03:11:02 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 12 Dec 2008 03:11:02 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: q26g2000prq.googlegroups.com; posting-host=70.137.179.95; 
 posting-account=dmGV1QoAAAD_iLea43F098rb5Yhuc0yg
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) 
 Gecko/2008102920 Firefox/3.0.4,gzip(gfe),gzip(gfe)
Xref:  news.cambrium.nl

On Dec 11, 1:28=A0pm, vadim...@gmail.com wrote:
> I fail to derive it with any assumptions, except the obvious, like
> demanding that D acted only on SP (or S). Therefore, there might be
> some truth to people questioning the validity of deletion from join
> view...

OK, here is what RL says about deletion from join view. In order to be
able to represent deletion from the join view as a composition of that
deletion into the base relations we need to prove the following:

(x ^ y) ^ R00 =3D z ^ R00 &
(z ^ (x ^ y)) =3D z
-> (x ^ (z' v (x ^ R00))) ^ (y ^ (z' v (y ^ R00))) =3D (x ^ y) ^ z'.

(For those who didn't follow all the messages, x and y are the renamed
S and SP relations, and z is the delta).

If we plug in this sentence into QBQL (see the announcement in the
other thread), we get the following counter example:

z =3D {<y=3Da,x=3D1,>,}
y =3D {<x=3D1,>,}
x =3D {<y=3Da,>,<y=3Db,>,}

(My apologies for using x,y,z names for relation variable names on the
left and same variables as attribute names within set definitions on
the right!)

On reflection, the result is quite obvious: deleting the <y=3Da,x=3D1>
tuple from the join view would leave nonempty result  {<y=3Db,x=3D1>}
while deleting projection of the delta onto base results would produce
the empty relation...



