Re: Concurrency in an RDB - another question about recursive definitions
Date: Sat, 13 Jan 2007 16:33:47 GMT
Message-ID: <LR7qh.629252$R63.283485_at_pd7urf1no>
Bob Badour wrote:
> ...
> What I am saying is: When you project onto A, the data type of B is
> mostly** irrelevant. Likewise, when you project onto B, the data type of
> A is mostly irrelevant.
>
> The fact that you have a recursive data type definition has no effect on
> project or join or restrict or union or intersect or difference etc. The
> values identified as B are simply values.
>
> Assuming:
>
> A = { a1, a2, a3, a4, a5 }
> B = { {a,b} | a in A and b in B }
>
> Given relation R{a in A,b in B}: /* Using C-style comments */
>
> R = { { a1, { a2, { a3, {} } } } /* a=a1, b={ a2, { a3, {} } */
> , { a4, { a3, {} } } /* a=a4, b={ a3, {} } */
> , { a5, { a2, { a3, {} } } } /* a=a5, b={ a2, { a3, {} } */
> }
> ...
Thanks for any comments,
p
Received on Sat Jan 13 2007 - 17:33:47 CET