CTEs – Common Table Expressions in SQL Server

CTEs (Common Table Expressions) are very useful in creating queries that need a recursion. CTEs are also very frequently asked interview questions for backend developers. Lets discuss a scenario and implement it using CTE to understand the same. Consider, we have a Person table which contains the Name, Age, and parent from the same table. …

CTEs – Common Table Expressions in SQL Server Read More »