| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Recursive closure
Tim Galle wrote:
> I have a table with a recursive relation. Something like:
> tblName(Number (PK), Name, SuperNumber (FK) )
>
> I would like to create a query who gives all the names at all the levels.
> (number differs from record to record) You can't do that in SQL2,
> but I heared it was possible in SQL3.
>
> How do you write this in relational algebra?
You don't. The transitive closure is not expressible in the standard relational algebra.
-- Jan HiddersReceived on Thu Jul 05 2001 - 06:22:49 CDT
![]() |
![]() |