Ankur Jain
What is Self Join?
By Ankur Jain in SQL Server on Aug 18 2014
  • Munesh Sharma
    May, 2016 31

    A self-join is a query in which a table is joined (compared) to itself. Self-joins are used to compare values in a column with other values in the same column in the same table. One practical use for self-joins: obtaining running counts and running totals in an SQL query.

    • 0
  • Vijay Kumar
    Sep, 2015 6

    Simply we can say join means join and self join means A table join with itself i.e called Self Join.

    • 0
  • Sreekanth Reddy
    Jul, 2015 11

    Joining to iteself is nothing but self join. Ex: Empno Mgr 1 2 2 3 3 4 In the above for empno 1, empno 2 is manager. To extract this type of data we use self joins.

    • 0
  • Rakesh Kalluri
    Dec, 2014 4

    a table join with it self is called as self join

    • 0
  • Akhil Garg
    Sep, 2014 14

    A self join involves a relationship with only one table.

    • 0
  • Ankur Jain
    Aug, 2014 18

    A self join can be of any type, as long as the joined tables are the same. A self join is rather unique in that it involves a relationship with only one table.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS