Our website uses cookies. By using this website, you agree to their use in accordance with the browser settings. You can modify your browser settings on your own. For more information see our Privacy Policy.



GROUP BY Extensions in MS SQL Server

Learn how to use ROLLUP, CUBE, and GROUPING SETS—three extremely useful GROUP BY extensions that will help you create sophisticated queries in no time.

Table of contents

10 free interactive coding challenges

Lifetime access


limited to this course only


Buy now

Want a better deal?


Get unlimited lifetime access to all 63 present and future courses

Save $450

Unlimited lifetime access


to all 63 present and future courses



75% OFF

Buy now

Interactive exercises

7 h

Estimated time


Users enrolled


552 ratings

ROLLUP, CUBE, and GROUPING SETS are GROUP BY extensions available in SQL Server, a relational database developed by Microsoft. SQL Server is among the three most widely used databases in the world. The NASDAQ stock exchange alone stores over one petabyte (a million gigabytes) of data in SQL Server. Other prominent companies that use SQL Server include Dell, Yahoo and, obviously, Microsoft!

If you already know SQL but would like to learn some advanced features available in SQL Server, this is the right course for you. Find out how to use ROLLUP, CUBE, and GROUPING SETS to create advanced reports with SQL Server or facilitate ETL processes if you work with data warehouses.

You’ll also benefit from this course if you’re planning to pass the 70-761 Querying Data with Transact SQL Microsoft certification. The exam requires demonstrated knowledge of GROUP BY extensions, so you’re in the right place to acquire and hone this skill.

We believe in learning by doing. Our courses include interactive exercises so you can get hands-on experience immediately. You can also learn comfortably at your own pace—we offer lifetime access to all course content!

What's in It for Me?

  • 68 interactive exercises. Learn at your own pace, from anywhere and anytime. Interact with hands-on exercises for improved retention.
  • Lifetime access to the course. When you purchase the course, you’ll get instant personal access to all of its content.
  • Certificate of completion. After you successfully finish all of the exercises, you’ll get a downloadable PDF certificate to showcase your accomplishment.
  • 30-day money back guarantee. If you’re not satisfied with the quality of the course, you can get a refund within 30 days of your purchase.
  • Hints for the exercises. You can ask questions and share insights with other members of our community through the Disqus tab.

Who Should Take This Course?

  • Anyone who knows basic SQL but wants to go one step further.
  • Analysts who use SQL Server to create reports.
  • SQL Server database administrators and system engineers.
  • Students taking SQL Server courses.
  • Professionals engaged in ETL processes.
  • Anyone who wants to pass the 70-761 Querying Data with Transact SQL certification.
  • Programmers looking to improve their SQL skills.

Table of contents


Paid content


Course progress


Exercises completed


Final Quiz

Verify how much you've learned with us in this course.


Reviews (15)

Average rating



552 ratings


5 stars


4 stars


3 stars


2 stars


1 stars