Interviewer And Interviewee Guide

SQL Plus Interview Question:

Please Explain Connect by Prior?

Submitted by: Administrator
Retrieves 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

Read Online SQL Plus Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.