Domain Rating by Ahrefs48
Description
PostgreSQL Exercises, also known as PGExercises, is a set of SQL practice questions for learning PostgreSQL by doing. The site was built around one simple dataset, and a Getting Started page introduces it. Exercises are grouped into Basic, Joins and Subqueries, Modifying data, Aggregates, Date, String and Recursive, and they range from simple select and where clauses through joins and case statements to aggregations, window functions and recursive queries. The author says it is designed to be used alongside a good book or the Postgres documentation, and that most people who are not already experts should find something to test themselves with. The exercises run raw SQL on the site, so you write a query and check the result. The About page says the author, Alisdair Owens, built it after noticing there was plenty of SQL material but few places to practice in a structured way. The site content is licensed under CC BY-SA 3.0.…
Highlights
- Structured PostgreSQL exercises on one dataset
- Basic, joins, aggregates, date, string and recursive sets
- Covers window functions and recursive queries
- Getting Started guide to the dataset
- Content licensed under CC BY-SA 3.0
Ratings & Reviews
No ratings yet
Be the first to rate PostgreSQL Exercises.
People also visit

postgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing
PostgreSQL Exercises FAQ
What is PostgreSQL Exercises?
A site of SQL practice questions built on one simple dataset, for learning PostgreSQL by doing.
Who is it for?
People learning SQL, from simple select queries to recursive queries. The site suggests using it alongside a book or the Postgres documentation.
How do I start?
Read the Getting Started page for an introduction to the dataset, then choose an exercise category from the menu.
Who made it, and under what license?
Alisdair Owens made it, according to the About page. The site content is licensed under CC BY-SA 3.0.
What are the best PostgreSQL Exercises alternatives?
Popular alternatives to PostgreSQL Exercises include SQLBolt, SQL Ultimate Course and SqlInt. See all PostgreSQL Exercises alternatives







