Re: more closed-world chatter



Marshall wrote:
On May 3, 6:39 am, paul c <toledobythe...@xxxxxxxx> wrote:

Thanks, I feel better now. Still, I'd like to know I could paraphrase
that query a little more formally, say using D&D <AND>. But the
stipulation "It is required that if <A,T1> is in Hr1 and <A,T2> is in
Hr2, then T1 = T2" stymies me, eg., if pricedomain={1,2} and
anotherdomain={3}, it seems that <AND> isn't defined.


This exact question has been in the back of my head for
a long time. I lately feel like the answer is "it depends."
Specifically it depends on the type system. The heart
of a join (if I may wax poetic momentarily) is a bunch of
tests for equality. So what is the result of:

1:pricedomain = 3:anotherdomain

(The colon here is a type specifier.) The question
is interesting in the case of disjoint types.

So, there are a variety of possible answers. Bob
for example considers this within the context of
a type theory that has subtyping, whereas Jon
proposes a type mismatch. Both answers have
their merits. Another question: what is the type
of that attribute in the result relation? Possible
answers include the top of the type lattice and
the bottom; I am inclined to prefer the bottom.
...

Regarding possible answers, I took it that both Bob B and Jon H are amenable to an answer of "false", assuming the dbms doesn't take exception and refuse to answer. "False" could be a boolean value, but if we want closure, I guess the answer has no attribute type per se, rather the answer is a relation that has no attributes and in this case, no tuples.

In conventional RT like D&D's, I gather that we could then join that answer with a relation that does have attributes and the result would be a relation with the same attributes. I believe this is "correct" within such an RT but I wonder if this is any more useful than a result that has no attributes or if it is just the effect of formal definitions.

Sorry if I'm drifting the thread again. Will try to absorb the latest syntax!

p
.



Relevant Pages

  • Re: name the game pls
    ... Bob handed Jon a piece of paper with an address on it. ... Just don't expect a copy of Super Mario Kart 2, okay?" ... said the warrior, "by what name do you call yourself, you fiend to the ...
    (comp.sys.sinclair)
  • Re: Need Symbol to Indicate a Space in a Computer Address String
    ... Hi Bob, ... set the font to Lucida Sans Unicode. ... >Thank you Suzanne for your response. ... >the insert carat that is on the bottom of the line specifically like when you ...
    (microsoft.public.word.docmanagement)
  • Re: Need help writing formula plz..
    ... all AutoSum at the bottom of the column giving me the total of the data for ... "Bob Tarburton" wrote: ... Say I have 5 columns of data and it goes down for 29 cells for the day ...
    (microsoft.public.excel.misc)
  • Re: Hey Babe, dats a nice pair you got there--vise jaws, that is... [Re: G-Code Librarie
    ... >> John Scheldroup wrote: ... but your preaching to the choir once again, ... Michael and I regarding VM or anything else is not being truthful Jon. ... > Why not try getting Bob to agree with your statements. ...
    (alt.machines.cnc)
  • Re: WHO IS ZINFER?
    ... IF you had claimed to have no idea who Bob was, ... trouble?.Only when E/E i mean Jon:) posted one of his weak insults and then ... do know that if Jon didn't insult Bob then this thread wouldn't even exist ... :>>Which mark are you referring too?.If you mean markline about 6 months ...
    (rec.games.video.arcade.collecting)