Here is another popular lab from Hands-On-Lab library: SQL Server Advanced Aggregations.
To meet various business requirements, sometimes we need to calculate cumulative aggregations, sliding window aggregations, Year-To-Date aggregations. This lab is divided into four exercises. In the first exercise, we will learn about cumulative aggregations and will learn to find running total on given set of data. In the second exercise, we will learn to perform sliding window aggregations and Year-To-Date aggregations. In the third exercise, we will learn to generate Histograms. In the fourth and final exercise, we will learn the tiebreaker concept.
Exercise 1: Cumulative aggregations
Exercise 2: Sliding window and Year-To-Date aggregations
Exercise 3: Histogram
Exercise 4: Tie-Breakers
Exercise 5: T-SQL Challenge
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.