| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.oracle -> how to sql query this?
Hi,
I have a table that contains data keys similar the following, where each letter is a key to an address
a,b a,c c,b b,d d,f x,y p,q
if i pass in a key such as "a" how can i return the items that are connected to "a" both directly & indirectly?
I.E
a,b a,c c,b ( via a,c) b,d (via a,b) d,f ( via a,b+b,d)
the parent key is always in col1, the child in col2
steve Received on Sun Oct 17 2004 - 05:42:06 CDT
![]() |
![]() |