Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 20764

SQL Query

$
0
0

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


Viewing all articles
Browse latest Browse all 20764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>