| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: constraints in algebra instead of calculus
Jon Heggland wrote:
> paul c wrote:
>
>>It's looking to me now that you are right about WRAP and that I too was
>>confusing it with GROUP, so maybe the constraint should look like:
>>
>>R{B} WRAP {B} as gB = R{B} GROUP {B} as gB,
Right, thanks, I read WRAP too quickly, what you wrote is a variation on GROUP without the compose, which is what I was guessing at.
>
>>also that as far as TTM/Tutorial D is concerned, Bob B was right about
>>
>>R{B} GROUP {B} as gB = (R GROUP {B} as gB) {gB} being a tautology.
>>
>>p (waiting to be corrected for the umpteenth time!)
Thanks again and yes, as I've seen, it's not an easy definition to reconcile with my intuition. It does seem that it would be cumbersome in practice, but from an implementation point of view, the other approaches I know of would need optimization too, eg., the COUNT and product/RENAME approaches.
(Another way I sometimes wonder about is to try to express constraints as relations, so that inserting/union in TTM-style might read like
r3 = (r2 <or> r1) <and> constraint, where constraint would need to have rva's.)
p Received on Mon Jun 18 2007 - 05:46:21 CDT
![]() |
![]() |