| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: constraints in algebra instead of calculus
Jan Hidders wrote:
> On 15 jun, 04:46, paul c <toledobythe..._at_oohay.ac> wrote:
>> ...
>>R is relvar name, A is candidate key, B is set of all the non-key
>>attributes.
>>
>>1. R1 := R GROUP ( {A} as gA )
>>2. R2 := R1 GROUP ( {B} as gB)
>>3. R3 := R GROUP ( {B} as gB )
>>4. R4 := R3 GROUP ( {A} as gA )
>>5. R5 := R4{gB} <AND> R2
>>6. R6 := UNGROUP ( R5 UNGROUP (gB)) (gA) )
>>7. (constraint) R6 = R
That's clever, thanks very much.
p Received on Fri Jun 15 2007 - 09:10:59 CDT
![]() |
![]() |