what is self join and how it works??

Answer Posted / alok kumar samartha

The concept of joining a table with itself is called self
join or inner join.It works based on the provided join condition
example:-select e1.empno employee,e2.ename manager from emp
e1,emp e2 where e2.empno=e1.mgr;

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create a new view in mysql? : Sql dba

504


what is clause? : Sql dba

596


What is an ndf file?

534


What is asqueryable?

535


What is java sql driver?

550






What does select count (*) mean in sql?

556


What is fmtonly in sql?

534


How do I edit a trigger in sql developer?

545


Why are aggregate functions called so?

520


Can a commit statement be executed as part of a trigger?

605


Can we want to pass a parameter payroll_id to this external pl/sql function, how do we do it?

565


What is sequence in sql?

513


What is %rowtype in pl sql?

519


Can 2 queries be executed simultaneously in a distributed database system?

649


What is the advantage of nosql?

531