How to write a procedure for displying the data in a TREE
or (PARENT and CHILD ) relationship , for ex: A is the main
project id, for this project B,C,D are sub tasks(sub
project id's) for B the sub tasks are e,f,g and for c is
h ,i ,j and for d is k,l,m
now i need to display the o/p in a TREE fashion

pls help me ,
thanks in advance
surendra

Answer Posted / rv

You can use Select..ConnectBY.. PRIOR clause in Oracle to
generate the data in tree structure. Google for the apt
syntax and usage.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is pl sql needed?

496


What are different types of sql commands?

496


How do you add a column to a table?

587


What is schema in sql?

503


what's the difference between a primary key and a unique key? : Sql dba

494






Explain autonomous transaction.

624


What is compute?

545


Define commit?

535


what is 'mysqlcheck'? : Sql dba

559


When a dml statement is executed, in which cursor attributes, the outcome of the statement is saved?

612


What is the use of <> sql?

542


How do I kill a query in postgresql?

537


What is full join in sql?

510


Which data type is a composite type?

510


What is informix sql?

525