Oracle Query
From: sajid <sajid321_at_yahoo.com>
Date: 7 Dec 2003 21:38:08 -0800
Message-ID: <a2ab112e.0312072138.c9d8130_at_posting.google.com>
Date: 7 Dec 2003 21:38:08 -0800
Message-ID: <a2ab112e.0312072138.c9d8130_at_posting.google.com>
id ParentId
100 null 101 100 102 101 103 102 104 100 105 104 106 100 107 106
I need to query the db and the get the following result
Root
- Cricket1 ---Cricket2
--Cricket3
--FootBALL1
--pele
means when ever it encounters the type of cricket it should not get the childs inside it(as in Cricket3) however if it encounters a child of type cricket , it should go ahead and get the child (as in Cricket1)
Its oracle db , so start with connect by clause can be used
Thanks in Advance
sajid Received on Mon Dec 08 2003 - 06:38:08 CET