- Exercises 218
- Estimated time 20h
- Skill level advanced
- Users enrolled 1697 users
- Rating 4.5/5 (12)
- Certificate of completion PDF
Learn how to use analytic SQL functions to deeply understand data.
SQL window functions – also known as windowing functions, OVER functions, or analytic functions – are tremendously useful. These functions make building complex aggregations much simpler. In this step-by-step tutorial, we will lead you through SQL window functions. At its end, you'll embrace this topic with ease and feel comfortable using window functions in SQL databases.

Window functions are so powerful that they serve as a dividing point in time: people talk about SQL before window functions and SQL after window functions. Because they were introduced into the standard relatively recently, these functions aren't covered in many SQL courses.
Note: Most popular database engines support window functions.
About the Window Functions in SQL Course
This course covers the syntax and semantics of SQL window functions. It shows how powerful they are, what the typical use cases are, and how to use ORDER BY and PARTITION BY to set up a frame for window functions. You'll also learn the difference between ROWS and RANGE clauses.
This course is intended for intermediate users. We assume the user knows the basics of SQL, including:
In this course you will learn:
You'll discover how window functions can be used to:
You'll also get a deeper understanding of SQL aggregate functions.
86%
off
Reg. price
$1442
Includes 36 courses Python Basics. Part 1, Python Basics. Part 2, Python Basics. Part 3, Python Data Structures in Practice, Built-in Algorithms in Python, Working with Strings in Python, SQL Basics, SQL Practice Set, SQL JOINs, Standard SQL Functions, Creating Basic SQL Reports, Window Functions, Revenue Trend Analysis in SQL, How to INSERT, UPDATE, and DELETE Data in SQL, Recursive Queries, Creating Tables in SQL, Statistics 101, SQL Basics in MS SQL Server, How to Insert, Update, or Delete Data in MS SQL Server, Common Functions in MS SQL Server, Revenue Trend Analysis in SQL Server, Creating Basic SQL Reports in SQL Server, Window Functions in MS SQL Server, Recursive Queries in MS SQL Server, GROUP BY Extensions in MS SQL Server, Introduction to Python for Data Science, How to Read and Write CSV Files in Python, How to Read and Write JSON Files in Python, SQL Basics in PostgreSQL, PostgreSQL JOINs, SQL Practice Set in PostgreSQL, Window Functions in PostgreSQL, Recursive Queries in PostgreSQL, Writing User-Defined Functions in PostgreSQL, PostGIS, How to Read and Write Excel Files in Python
Bundle price $199
38 hours left at this price!
67%
off
Reg. price
$369
Includes 9 courses SQL Basics, SQL Practice Set, SQL JOINs, Standard SQL Functions, Window Functions, How to INSERT, UPDATE, and DELETE Data in SQL, Recursive Queries, Creating Tables in SQL, PostGIS
Bundle price $119
38 hours left at this price!
44%
off
Reg. price
$143
Includes 3 courses Standard SQL Functions, Window Functions, Recursive Queries
Bundle price $79
38 hours left at this price!
Window functions? We'll explain what it's all about.
0% completed 0 of 8 exercises done
Your first encounter with window functions.
0% completed 0 of 17 exercises done
Discover how you can define the function window with PARTITION BY
0% completed 0 of 16 exercises done
Learn how you can rank rows with window functions.
0% completed 0 of 26 exercises done
Get to know how to create sophisticated window frames for your window functions.
0% completed 0 of 26 exercises done
Learn the most essential analytic functions.
0% completed 0 of 30 exercises done
Create advanced statistics computed independently for various groups of rows.
0% completed 0 of 25 exercises done
Do you know when window functions are evaluated in a SQL query? Let's find out.
0% completed 0 of 23 exercises done
Master all the skills you acquired so far in our big practice part.
0% completed 0 of 32 exercises done
Test the skills you acquired in the whole course with this final quiz.
0% completed 0 of 15 exercises done