with CTE(WinnerID, AssociatedWinnerOrParentID)
as (
select EMPLOYEE_ID,EMPLOYEE_ID
from WINNER
union all
select c.WinnerID,e.MANAGER_ID
from CTE c
inner join EMPLOYEE e on e.ID=c.AssociatedWinnerOrParentID
and e.MANAGER_ID is not null)
select WinnerID,
AssociatedWinnerOrParentID
from CTE