Skip to main content
HomeSQL

Course

PostgreSQL Summary Stats and Window Functions

IntermediateSkill Level
4.7+
1,874 reviews
Updated 05/2025
Learn how to create queries for analytics and data engineering with window functions, the SQL secret weapon!
Start Course for Free

Included withPremium or Teams

SQLProgramming4 hours12 videos44 Exercises3,550 XP98,223Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

Have you ever wondered how data professionals use SQL to solve real-world business problems, like generating rankings, calculating moving averages and running totals, deduplicating data, or performing time intelligence? If you already know how to select, filter, order, join and group data with SQL, this course is your next step. By the end, you will be writing queries like a pro! You will learn how to create queries for analytics and data engineering with window functions, the SQL secret weapon! Using flights data, you will discover how simple it is to use window functions, and how flexible and efficient they are.

Prerequisites

Data Manipulation in SQL
1

Introduction to window functions

Start Chapter
2

Fetching, ranking, and paging

Start Chapter
3

Aggregate window functions and frames

Start Chapter
4

Beyond window functions

Start Chapter
PostgreSQL Summary Stats and Window Functions
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll Now

Don’t just take our word for it

*4.7
from 1,874 reviews
80%
18%
2%
0%
0%
  • Volodymyr
    about 7 hours

  • Chloe
    about 15 hours

  • Shuyu
    about 16 hours

  • Justin
    about 17 hours

  • Milene
    about 20 hours

  • KURT ANDREI
    about 22 hours

Volodymyr

Chloe

Shuyu

Join over 16 million learners and start PostgreSQL Summary Stats and Window Functions today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.