MySQL Forums
Forum List  »  Oracle

START WITH and CONNECT BY in Oracle SQL
Posted by: Pierre Ducrot
Date: April 22, 2006 03:27AM

Hi,

Is there any way to write recursive SQL queries in mySQL as it is in Oracle?
See the Oracle example below:

create table test_connect_by (
parent number,
child number,
constraint uq_tcb unique (child)
);

select child
from test_connect_by
start with parent is null
connect by prior child = parent;

Cheers,

Pierre

Options: ReplyQuote


Subject
Views
Written By
Posted
START WITH and CONNECT BY in Oracle SQL
19626
April 22, 2006 03:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.