Please Explain Connect by Prior?
Submitted by: AdministratorRetrieves rows in hierarchical order.e.g. select empno, ename from emp where.
"connect by prior" is clause which is used in hierarchical queries.Example
select ename,empno,mgr,job
from emp
start with job='PRESIDENT'
connect by prior empno=mgr;
Submitted by: Administrator
"connect by prior" is clause which is used in hierarchical queries.Example
select ename,empno,mgr,job
from emp
start with job='PRESIDENT'
connect by prior empno=mgr;
Submitted by: Administrator
Read Online SQL Plus Job Interview Questions And Answers
Top SQL Plus Questions
☺ | Explain ROWID? |
☺ | What is a join in Oracle? Explain the different types of joins? |
☺ | Explain Explicit Cursor attributes? |
☺ | How to use SQL to build SQL, what is this called and give an example? |
☺ | Explain How do we eliminate the duplicate rows? |
Top DB Oracle Categories
☺ | Oracle PL-SQL Interview Questions. |
☺ | Oracle DBA Interview Questions. |
☺ | Oracle D2K Interview Questions. |
☺ | OCI Interview Questions. |
☺ | Oracle RMAN Interview Questions. |