Hello Friends,

Here is another popular lab from Hands-On-Lab library: SQL Server Aggregations.

Aggregations functions are used to perform calculations on a group of values to return a single value. In this lab, we will look into various basic and advanced aggregations. In the first exercise, we will look into various basic aggregate functions such as SUM, MAX, MIN, COUNT, STDEV, VAR, AVG. In the second exercise, we will learn to perform some advanced aggregations using CUBE and ROLLUP operators. In the third exercise, we will to learn to use GROUPING SETS and GROUPING_ID to perform grouping. In the fourth and final exercise, we will learn to use OVER clause to perform aggregations.

Exercise 1: Introduction to basic aggregate functions
Exercise 2: CUBE and ROLLUP
Exercise 3: GROUPING SETS and GROUPING_ID
Exercise 4: OVER clause

SQLMaestros Hands-On-Labs enables the practical way of learning. Each lab document consists of multiple exercises and each exercise consists of multiple tasks. Apart from step-by-step instructions, the HOL document contains images, explanations, observations, notes, tips & tricks to ensure a great learning experience. With each lab, you can practice a specific concept step-by-step. With our HOL documents, you will get hands-on with hundreds of topics in SQL Server & Microsoft Data Platform. Learn More.

Learn More

 

 

Happy Learning – The Practical Way.