Mention what are ROLLUP and CUBE in T-SQL?

Technology CommunityCategory: T-SQLMention what are ROLLUP and CUBE in T-SQL?
VietMX Staff asked 3 years ago

ROLLUP and CUBE are the grouping sets used along with GROUP BY clause to generate summarized aggregations. These are mainly used for Data Audits and Report Generation.