Great job! The one part I’m unsure about is performance. The execution plans for all three statement versions here are 33% relative to batch (after removing the CROSS APPLY’s “sum_line_total” that was causing its cost to jump to 76% relative to batch). The reads at each step are...