Closed msullivan closed 2 years ago
Would be nice to see a section dedicated to analysis of the SQL GROUP BY along with some conclusions why on how our GROUP BY is different/more powerful/weaker and how our solution is more composable.
Would be nice to see a section dedicated to analysis of the SQL GROUP BY along with some conclusions why on how our GROUP BY is different/more powerful/weaker and how our solution is more composable.
I wrote something up, with some implementation notes
I have swapped the USING and BY clauses, again, and restored essentially my initial proposal for specifying grouping sets, but now in the BY clause instead of USING.
Should I merge it, and then we can restart any future arguing based on that?
Should I merge it
Go ahead.
I use
ORDER BY
because I wanted the query output in a particular order for the example, and theORDER BY
makes sure that the model actually produces the output I want. I can drop the ORDER BY, but I don't actually think that would clarify anything.