Does this get you what you're going after? Sqlfiddle setup here: http://sqlfiddle.com/#!3/9b107/2
; WITH hierarchy_CTE
AS(
SELECT OrganizationID, name, parentid, 1 AS Level
FROM #t1 AS Employee
WHERE OrganizationID = 4
UNION ALL
SELECT boss.OrganizationID, boss.Name, boss.ParentID, Level + 1
FROM #t1 boss
INNER JOIN hierarchy_CTE ON boss.OrganizationID = hierarchy_CTE.parentid
WHERE boss.parentid <> 4 OR boss.parentid IS NULL
)
, hierarchy2_CTE AS
(SELECT cte.Level, cte.name
FROM hierarchy_CTE cte)
SELECT * FROM hierarchy2_CTE
PIVOT
(
MAX(NAME)
FOR Level IN ([1], [2], [3], [4])
) as pvt
Adapted from PinalDave's article here: http://blog.sqlauthority.com/2012/04/24/sql-server-introduction-to-hierarchical-query-using-a-recursive-cte-a-primer/
This basically give you one row based on a given employee (in this case that has an organizationID of 4) and finds their chain of command.