DataCamp
DataCamp Logo

PostgreSQL Summary Stats and Window Functions 

  • Offered byDataCamp

PostgreSQL Summary Stats and Window Functions
 at 
DataCamp 
Overview

Learn how to create queries for analytics and data engineering with window functions, the SQL secret weapon

Duration

4 hours

Mode of learning

Online

Difficulty level

Intermediate

Official Website

Go to Website External Link Icon

Credential

Certificate

PostgreSQL Summary Stats and Window Functions
 at 
DataCamp 
Highlights

  • Earn a certificate after completion of the course
  • Learn from the industry best faculty
Details Icon

PostgreSQL Summary Stats and Window Functions
 at 
DataCamp 
Course details

Who should do this course?

Data Analysts and Scientists

Data Engineers

Business Analysts

Database Administrators

What are the course deliverables?

Introduction to Window Functions

Basic Syntax and Usage

Core Window Functions

Advanced Applications

Optimization and Performance

Practical Scenarios and Case Studies

More about this course

In this course students 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

This course provides an in-depth understanding of how window functions work and how they can be applied to perform complex calculations over data sets without the need for subqueries or joins, thereby optimizing query performance and simplifying query structure

PostgreSQL Summary Stats and Window Functions
 at 
DataCamp 
Curriculum

Window functions vs GROUP BY

Numbering rows

Numbering Olympic games in ascending order

ORDER BY

Numbering Olympic games in descending order

Numbering Olympic athletes by medals earned

Fetching

Future gold medalists

First athlete by name

Last country by name

Ranking

Ranking athletes by medals earned

Ranking athletes from multiple countries

Aggregate window functions

Running totals of athlete medals

Maximum country medals by year

Minimum country medals by year

Frames

Number of rows in a frame

Pivoting

A basic pivot

Pivoting with ranking

ROLLUP and CUBE

Country-level subtotals

 

Other courses offered by DataCamp

– / –
39 hours
– / –
– / –
26 hours
– / –
– / –
4 hours
Beginner
– / –
4 hours
Intermediate
View Other 46 CoursesRight Arrow Icon
qna

PostgreSQL Summary Stats and Window Functions
 at 
DataCamp 

Student Forum

chatAnything you would want to ask experts?
Write here...