PostgreSQL Tutorial
Learn PostgreSQL 18 from psql basics to JSONB, window functions, indexes and PL/pgSQL, with examples that run in your browser.
Start the first lesson Continue where you left off
Getting Started Beginner
- 1PostgreSQL Introduction
- 2Install PostgreSQL
- 3psql & Meta-commands
- 4pgAdmin & the Practice Database
- 5Databases, Schemas & Tables
Data Types & Table Design Beginner
- 6Numbers, Text & Boolean Types
- 7Dates, Times & Time Zones
- 8UUID, Enum & Range Types
- 9Constraints & Keys
- 10Identity Columns vs SERIAL
Changing Data Beginner
Powerful Queries Intermediate
- 13Joins, Aggregates & FILTER
- 14Window Functions
- 15CTEs & Recursive Queries
- 16LATERAL Joins & generate_series
- 17String Functions & Regular Expressions
Arrays, JSON & Search Intermediate
Performance & Concurrency Intermediate
- 21Index Types: B-tree, GIN, GiST & BRIN
- 22EXPLAIN & EXPLAIN ANALYZE
- 23Transactions, Isolation & MVCC
Server-side Programming Advanced
Administration & Applications Advanced
- 27Roles, Privileges & Row-Level Security
- 28Table Partitioning
- 29Backup, Restore & Replication
- 30Extensions: PostGIS, pgvector & More
- 31Connect from Python, Node.js & PHP
Project Project
Learn PostgreSQL with a mentor
Free lessons get you started. Our Full Stack Web Development training adds real projects and code reviews from working developers.
- Project-based learning
- Mentor code reviews
- Free counselling call
