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