Learn how to use analytic T-SQL functions to deeply understand data.
Window functions are so powerful that they serve as a dividing point in time: people talk about SQL Server before window functions and SQL Server after window functions. Because they were introduced into the standard relatively recently, these functions aren't covered in many T-SQL courses.
About the Window Functions in SQL Server Course
This course is intended for intermediate users. We assume the user knows the basics of T-SQL, including:
You'll also get a deeper understanding of T-SQL aggregate functions.
Window functions? We'll explain what they're all about
Your first encounter with window functions
Discover how to define a function window with PARTITION BY
Learn how you can rank rows with window functions
Learn how to create sophisticated window frames for your window functions
Learn the most essential analytic functions
LEAD() and LAG()
Create advanced statistics computed independently for various groups of rows
PARTITION BY ORDER BY with Ranking
Using PARTITION BY ORDER BY with Analytical Functions
Do you know when window functions are evaluated in a T-SQL query? Let's find out!
Evaluation Order and Common Problems
Window functions and GROUP BY
Master all the skills you've acquired so far with our practice set
PARTITION BY ORDER BY
Test all the skills you've acquired so far with this comprehensive final quiz