narasiman rao

narasiman rao

  • NA
  • 519
  • 745.6k

using self join get the output for below table

Oct 14 2017 10:19 PM
  Empid  Empname  Managerid

1                   A                Null
2                  B                  1
3                  C                  2
4                  D                  1
5                  E
6                  F                    3

i want to write the query using self join and find out for Each empname who is manager id using query in sql server
 

Answers (2)