I found in MSSQL exists both
SELECT <list of columns>, sum(measure) as measure
FROM fact-table
GROUP BY <list of columns> WITH CUBE
and
SELECT <list of columns>, sum(measure) as measure
FROM fact-table
GROUP BY CUBE (<list of columns>)
I was wandering what is the difference, because using them, I get same results with both syntaxes.
Also I remember that, at least for version 2008, WITH CUBE was supported by express edition and ROLLUP(), CUBE() and GROUPING SETS() were a feature of 'Enterprise editions'