| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Thinking about MINUS
Walt wrote:
> "paul c" <toledobythesea_at_oohay.ac> wrote in message > news:ooZnh.560288$5R2.4691_at_pd7urf3no... >
> > set >>>>
>>>>>theory and Boolean algebra.
>>>>>Or am I seeing something wrong (again)?
>>>>
>>>>
>>>>I guess NAND would then be U MINUS A MINUS B, and since NAND is said
>>>>to be enough to "bootstrap" (I seem to remember), then I'd say you are
>>>>right but where it leads as far as database is concerned, I don't know.
>>>
>>>
>>>NAND = U MINUS ( A MINUS ( A MINUS B ) )
>>> = U MINUS ( B MINUS ( B MINUS A ) )
> > Either NOR or NAND are enough to bootstrap to the rest of it, provided you > make one little extension to them: > > NOR or NAND with only one operand is NOT.
That's not really an extension. That's just the natural outcome of the functions themselves:
NOT A = A NAND A
NOT B = B NOR B
This derives from the identity:
A AND A = A
B OR B = B
> I don't know where it leads regarding database, either. Just a random > thought.
What I find interesting is we can express all of the base logical operations in the relational compromise for NOT.
Of course, so far, we are only looking at relations of the same type, and MINUS doesn't get us PROJECT or JOIN etc. I wonder whether one can define some reasonable extension to MINUS for relations of different types that gives us PROJECT and/or JOIN etc. Received on Sun Jan 07 2007 - 10:46:49 CST
![]() |
![]() |