| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: A simple notation, again
David Cressey wrote:
> "Bob Badour" <bbadour_at_pei.sympatico.ca> wrote in message
> news:469bac76$0$8868$9a566e8b_at_news.aliant.net...
>
>>David Cressey wrote: >> >> >>>Using the notation [A B C] for <NOT> (A <AND> B <AND> C), etc. >>> >>>The following [ A [B]] means "A implies B" for Boolean algebra.
>>>the corresponding thing for Relational Algebra? >>> >>>Also, I'm trying to come up with a bracket notation for a "literal >>>relation", like literals for simple datatypes like numbers and
>>>strings. >>> >>>I'm toying with this: >>> >>>[["David" "Cressey" 1] >>> ["Marshall" "Spight" 2] >>> ["Bob" "Badour" 3] >>> ["Jan" Hidders" 4]] >>> >>> >>> >>>This would represent a relation of order 3 and cardinality 4. >>> >>> >>>What I don't like about this is that the binding between attribute
>>>and attribute names is >>>by position rather than by name, and in fact the attribute names don't
>>>appear here. That's unacceptably bad. The symmetry is appealing, but
>>>clearly needs improvement. >> >>You omitted names entirely. You would have to extend the syntax to >>something like: >>[[name="David" surname="Cressey" n=1] >> [n=2 name="Marshall" surname="Spight"] >> [surname="Badour" name="Bob" n=3] >> [name="Jan" surname="Hidders" n=4]]
Yeah, I followed it when you posted it. I will leave it for Jan or Vadim to answer whether A UNION B = NOT( (NOT A) JOIN (NOT B))
It is certainly true in boolean logic that: A OR B = NOT( (NOT A) AND (NOT B)) Received on Mon Jul 16 2007 - 17:54:14 CDT
![]() |
![]() |