I understand conventional CTE and recursion, like shown in the below example:
-- Create an Employee table. CREATE TABLE dbo.MyEmployees ( EmployeeID SMALLIN