emp mangr e1 m1 e2 m1 e3 m2 m1 sm1 m2 sm1 m3 sm2 e4 m3
SELECT emp FROM Table1 WHERE mangr IN ( SELECT emp FROM Table1 WHERE mangr='sm1' );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)