Submitted Questions

  • Self Join

    Explain Self Join with the help of an example?

    Chaitali

    • Sep 29th, 2015

    Self join - Joining table itself called "Self join". In Self join we need to use alias for the same table.
    Example -

    SELECT E.EmpID, E.Name, M.Name As Manager Name
    FROM Employee E SELF JOIN Employee M
    WHERE E.MgrID = M.EmpID