You want to find customers whose total spending is above the average total spending across all customers.
Which approach is considered the most readable and maintainable?
Requirements
01Understand the difference between subqueries and CTEs
02Consider readability and reusability
03Think about how each approach composes in complex queries