Last answered:

22 May 2024

Posted on:

10 Feb 2023

0

I guess not just CTE we can JOIN or Union any other Temp table other than itself???

I guess not just CTE we can JOIN or Union any other Temp table other than itself??? As I tried to join and union other tables like employees or departments or even other Temporary tables they worked fine for me CTE too except the temporary table itself

1 answers ( 0 marked as helpful)
Instructor
Posted on:

22 May 2024

0

Hi Mayank!

Thanks for reaching out!


Please accept my apologies for the delayed response.

Yes, you can join or union Common Table Expressions (CTEs) with other tables, including temporary tables, regular tables, or even other CTEs. There's no limitation on joining or unioning CTEs with other tables or CTEs.
 

Hope this helps.
Best,
Martin

Submit an answer