I am new for SQL Server and have a question to consult experts.
I have an Employee table:
ID Name ManagerID DepartmentID Region
101 Kay Scott 201 D1 South
102 Kim Lee 201 D1 South
103 Jean Lu 301 D2 North
107 Sam Smith 402 D7 West
109 Petter Ray 501 D6 East
...
I would like to display the table data like:
ID 101
Name Kay Scott
ManagerID 201
DepartmentID D1
Region South
ID 102
Name Kim Lee
ManagerID 201
DepartmentID D1
Region South
...
Thanks a lot for any help.
Jeanne
I have an Employee table:
ID Name ManagerID DepartmentID Region
101 Kay Scott 201 D1 South
102 Kim Lee 201 D1 South
103 Jean Lu 301 D2 North
107 Sam Smith 402 D7 West
109 Petter Ray 501 D6 East
...
I would like to display the table data like:
ID 101
Name Kay Scott
ManagerID 201
DepartmentID D1
Region South
ID 102
Name Kim Lee
ManagerID 201
DepartmentID D1
Region South
...
Thanks a lot for any help.
Jeanne