Hi All.
I have table in below format
EmployeeID,Mail,ManagerID
1,xyz@ms.com,2
2,uvw@ms.com,1
3,pqr@ms.com,1
There is a need to write a query which give the below result.
EmployeeID,Managere-email
1,uvw@ms.com
2,xyz@ms.com
3,xyz@ms.com
Thanks and Regards,
SQL4Query