Course
Time Series Analysis in PostgreSQL
IntermediateSkill Level
Updated 11/2025Start Course for Free
Included withPremium or Teams
SQLData Manipulation4 hr14 videos46 Exercises3,800 XP2,382Statement 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.Loved by learners at thousands of companies
Training 2 or more people?
Try DataCamp for BusinessCourse Description
Work with time series data
You’ll learn about various date and time data types and how to convert between them, manipulate their granularity, and perform calculations, including aggregations, partitioning, and running averages. These insights will help you add value to existing time series data.
Apply time series analysis to real-world data
You'll apply these techniques to real-world data to analyze temperatures, look at train schedules, and review how the popularity of news articles can change over time.
Prerequisites
Joining Data in SQL1
Introduction to Date and Time Data in PostgreSQL
In this chapter, you’ll be introduced to date and time data types. You’ll learn how to convert text and numeric data to date and time format—and how to convert the other way around too!
2
Working with Time Series
It’s time to get granular. In this chapter, you’ll learn how to set the granularity of your time series reports. You’ll then get to grips with adding, subtracting, and aggregating as you discover how to analyze time series data.
3
Using Window Functions to Analyze Time Series Data
In this chapter, you’ll work with window functions. You'll begin learning about partitions and partitioning and how they work with window functions. You'll be able to find the top items when ranking your data.
4
Calculating Running Totals and Moving Averages
In the final chapter, you’ll level up your skills by calculating the running total, running average, and even moving average to enhance your time series analysis.
Time Series Analysis in PostgreSQL
Course Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance review
Included withPremium or Teams
Enroll NowJoin over 19 million learners and start Time Series Analysis in PostgreSQL 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.