| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: object algebra
> > > XDb1 has "amaterish" transitive closure
> > Why not show how amaterish it is by providing an alternate solution?
> but finding nearest common ancestor in a tree is trivial:
I can't tell by the provided 4 steps, if the alternate solution is more or less "amaterish".
> I'm not sure what exactly your challenge is:
Common Ancestor Report for 'god'
ThingX ThingY CmnAnc Dist army john army 1 army laptop1 army 2 army fido army 2 army mary army 1 army trinity god 2 army luke god 3 john laptop1 john 1 john fido john 1 john mary army 2 john trinity god 3 john luke god 4 laptop1 fido john 2 laptop1 mary mary 1 laptop1 trinity trinity 2 laptop1 luke trinity 3 fido mary mary 1 fido trinity trinity 2 fido luke luke 1 mary trinity trinity 1 mary luke trinity 2 trinity luke trinity 1
XDb1's representation/gui/code is generic enough so that someone else could enter a completely different hierarchy consisting of different things and yet the report would run properly. Your code/SQL should have a similar level of genericness. Received on Thu Feb 26 2004 - 21:14:52 CST
![]() |
![]() |