how to retrieve attributes in the starts with of the connect by [message #196820] |
Sat, 07 October 2006 22:54 |
khanna111
Messages: 5 Registered: October 2006
|
Junior Member |
|
|
Hi,
I have the following SQL to retrieve the parents of the groups with the ids (1300, 1200, 1000) specified below. Is there a way to inlude these ids in the output of the outer select statement? What is required is that the final output of the outer select contains "1300, 1200, 1000" as well.
The query is:
select GG.group_id from CSS_GROUP_GRAPH GG
connect by GG.member_group_id = prior GG.group_id
start with GG.member_group_id IN
(
1300, 1200, 1000
);
Thanks
|
|
|
|
|