Recursive Queries Using Common Table Expressions | Microsoft Docs