grouping sets with rollup/cube #4264
Replies: 1 comment 3 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, can I use cube/rollup inside group by grouping sets? In the t-sql syntax, grouping_set_item is described where you can use cube/rollup like this GROUP BY GROUPING SETS ( ROLLUP (Country, Region), CUBE (Country, Region) ); but i did't find any examples either in the documentation or in the tests, could you suggest the syntax, or thoughts on how I could expand group by.
Beta Was this translation helpful? Give feedback.
All reactions