You have already made use of CTEs to prepare data for use in aggregates and other operations.
Here, we will take a further look at some of the more powerful features of CTEs.
CTEs As Variables
Later in this chapter, we’ll see a more sophisticated version of this technique when we look at table ...