Yeah, four queries for the four requirements seems the most straightforward, and easier to maintain than the final version.
But still a very nice illustrating of group by cube.
Yeah, four queries for the four requirements seems the most straightforward, and easier to maintain than the final version.
But still a very nice illustrating of group by cube.