GO திசைGoDisai

← All courses

Intermediate 60 hours 54 chapters By invitation

SQL in Depth: Joins, Window Functions and Time Series on PostgreSQL

Go from comfortable SQL to interview-ready SQL on PostgreSQL. Master filters, joins, window functions and time series queries on the DVD Rental and ServiceNow-style ITSM databases, then cover schema design, transactions, locking and scale. Every example runs on a real PostgreSQL 17 in Docker and shows the output it produced.

Who it is for

Developers and analysts who can already write basic SELECT queries and want to be strong in joins, filters, window functions and time series problems, for work or for database interview rounds.

Before you start

  • Basic SQL (SELECT, WHERE, ORDER BY, a first JOIN), as in the Postgres for everyone course
  • A laptop that can run Docker (the setup page walks you through it)

What you will be able to do

  • Predict what a query returns, including row counts after joins, and avoid the NULL and fan-out traps
  • Write any join pattern, filter by absence or existence, and pick the top N per group
  • Solve ranking, running total, gaps and islands and consecutive event problems with window functions
  • Build time series reports with calendars, buckets, gap filling, growth rates and SLA durations
  • Walk hierarchies and graphs with recursive CTEs and read query plans to choose indexes
  • Design schemas and handle transactions, locking, multi-tenancy and large tables for a ticketing system