select t1.emp_name,t1.emp_id,t1,mgr_id, t2.emp_name as manager_name from testt1, test t2 where t1.mgr_id=t2.emp_id
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)