Skip to content
Advertisement

How to go convert to CTE

I am a little confused out a CTE works. I need to convert my statement from a rollup with a UNION to a CTE… but the CTE is a bit confusing me.

Any Ideas how to approach this?

Advertisement

Answer

You can express this using a CTE as:

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement