An Introduction to Window Functions
2022TL; DR
Learn to use window functions to improve your SQL
Session Details
For anyone with a basic understanding of SQL or beyond, window functions are a key feature to open your querying options and take your code to the next level.
Most functions are like a holiday in Vegas, what goes on in a row stays in a row, but window functions throw the curtains wide open, making your queries aware of what happens around them.
In this session we'll start with the basics of syntax and simple examples such as sequencing rows and aggregating over different levels, then move on to more advanced uses including running totals, common query patterns and tricks Finally we'll consider performance impacts for better and worse.
We'll use SQL Server for our examples, but content will be adaptable to other dialects of SQL.
3 things you'll get out of this session
Speakers
Barney Lawrence's other proposed sessions for 2026
(Almost) Everything You Wanted To Know About Purview Data Governance - 2026
DAX Explained Through Dance, Memes and Dad Jokes - 2026
Barney Lawrence's previous sessions
Data Linkage Options: MDM vs Splink (PySpark)
Comparison of various data linkage solutions.
The Metadata Driven Data Warehouse
Tired of writing the same old Insert/Update/Delete statements over and over? Is your pipelines folder overflowing? Need to get your new data warehouse up and running as fast as possible?
Metadata (data about data) comes to the rescue and in this session we’ll show you how.
DAX as Dance-Contexts Explained
Dance your way to an understanding row and filter contexts in DAX.