Let it be 1 table "employee" in database, having 3 attributes, "emp_id", "emp_name", "emp_boss".

Employee
emp_id - emp_name - emp_boss
1 - abc - 2
2 - xyz - 2
3 - lmn - 1
4 - pqr - 3

Get employee name and his/her boss name