Learn SQL Using PostgreSQL: From Zero to Hero (Udemy.com)
Master PostgreSQL starting with basics to advanced features like triggers, PL/pgSQL functions, Window Functions and CTE
Created by: Will Bunker
Last updated September 2021
What you will learn
- Perform sophisticated queries
- Join tables together
- Use Group By to answer questions on aggregated date
- Create and modifying tables
- Create indexes to improve search speed
- Put in constraints to keep data clean
- Use pgAdmin tool
- Learn recursive queries
- How views make accessing data simpler
- Subqueries
- Sequences to auto increment fields
- Common Table Expressions
- Conditional Expressions
- Window Functions
- How to handle date and time data
- SQL Functions
- Transactions and Concurrency Control
- PL/pgSQL Functions
- Triggers
- Composite Data Types
- Array Data Types
How it compares
Against the other 47 rated Udemy courses in PostgreSQL on CourseDuck:
- Rating4.3 out of 5higher than 51% of them
- Reviews3,852#9 of 48 by number of reviews
- Length16.2 hourslonger than 93% of them
- Last updatedSeptember 2021earlier than 63% of them
Quality Score
Overall Score : 86 / 100
Course Description
Learning SQL was one of the most valuable skills I learned while building Match. We had one of the largest instances of Microsoft SQL Server in the 90s with millions of records to keep the site running. The better we got at SQL, the better we could make the site work for our users and answers sophisticated questions about our users.
I want to teach you how to use PostgreSQL. We will walk through
Basic selection statements
Joining multiple tables together
Grouping records to get aggregate data
Inserting, updating and deleting records
Creating tables and indexes
Subqueries to create sophisticated reports
Table constraints to keep data clean
Sequences to create auto incrementing fields
CTE - common table expressions that include recursive queries
Views to simply accessing complex queries
Conditional Expressions for queries
Window functions to combine regular queries with aggregate data
How to work with date, time and intervals
Create SQL Functions to capture complex statements
Create PL/pgSQL Functions that allow programming with if/then and loops
Triggers
Array data types
Composite data types
Transactions and concurrency control
Instructor Details
- 4.3 Rating
3,852 Reviews
Will Bunker
Dave Kennedy and I started what became the largest dating site of the 90's, from a telephone closet at an insurance company. I taught myself from the ground up how to build a site that became one of the top 100 visited sites by 1999. Since then, I have helped found several more businesses and invested in over 160 tech companies.
I love to learn new stuff and have a found a way to reach my dreams by learning the latest technologies. You can too. I've helped dozens of others learn how to build their own companies by learning to code and deploy technologies to solve real problems.
I am going to put together a series of courses that will cover everything from prototyping, then building an MVP, and finally scaling into the cloud when your company takes off.
Every piece that you master becomes one more tool in your toolkit to make that idea a reality. Even better, every skill gives you a new way to earn money in the workplace.
More PostgreSQL courses
The Complete SQL Bootcamp: Go from Zero to Hero (2022)
4.7 (258,007 Reviews)
Provider: Udemy
Time: 8.9h
$159.99
SQL and PostgreSQL: The Complete Developer's Guide (2026)
4.7 (13,224 Reviews)
Provider: Udemy
Time: 22.2h
$139.99
SQL & Database Design A-Z™: Learn MS SQL Server + PostgreSQL (2025)
4.7 (5,426 Reviews)
Provider: Udemy
Time: 12.7h
$15.99
Zero to Hero in SQL: SQL for Data Analytics (2026)
4.6 (14,123 Reviews)
Provider: Udemy
Time: 10.4h
$129.99
SQL and PostgreSQL for Beginners: Become a SQL Expert (2026)
4.6 (8,732 Reviews)
Provider: Udemy
Time: 12.3h
$139.99
PostgreSQL Database Administration on Windows/Linux- Part 1 (2025)
4.6 (7,007 Reviews)
Provider: Udemy
Time: 14.3h
$74.99
Reviews
By Saikumar Kompelli on 3/21/2026
The PostgreSQL course provided a strong and practical foundation in database management. It covered essential concepts such as schema design, data types, constraints, joins, indexing, and advanced features like views, triggers, and functions. The inclusion of real-time scenarios and hands-on exercises made it easier to understand how PostgreSQL works in practical environments. One of the most valuable aspects of the course was learning about performance optimization techniques, including indexing strategies and query tuning. Topics like backup and restore using pg_dump and pg_restore were especially useful for real-world applications. Additionally, exposure to advanced concepts such as Row-Level Security (RLS), roles, and permissions helped in understanding how to secure databases effectively. The course structure was clear and progressive, starting from basic SQL queries and gradually moving towards more advanced topics. The practical assignments and problem-solving sessions enhanced confidence in writing queries and debugging errors. Overall, the PostgreSQL course was highly informative and practical, making it suitable for both beginners and intermediate learners. It significantly improved my confidence in working with databases and handling real-time use cases.
By Jeanne Lane on 10/31/2025
I had some database experience, but I want to learn more concepts and with postgres. This class covered indexing, explain, window functions like rank(), and PostGIS--concepts I wanted to learn more about. Instructor is clear and gives examples of how different concepts were used in his business.
By Alberto Gámez González on 9/2/2025
Complete course with lot of exercises. Useful having tests for the basic concepts from the start. Only bad point is when interacting with cmd because of different commands. Furthermore, the struggling part was importing a csv because of the format. Maybe a supported file from the lecturer would have been better to avoid incompatibilities due to different files versions or something else.
By Junaid Ahamed Gulam Mohiedeen on 10/3/2023
This lecture is really good starting point for anyone who like to know about PostgreSQL. I can really see that great effort has been put into creating this course, especially adding all the respective resources which you find rarely find in other courses! One thing that should be improved is the quality of the audio, it's difficult to understand author at times due to poor quality, otherwise this is a good one!
By S.Wang on 12/27/2020
Not bad before approx section 20. The lecturer goes through basic syntax only but has NO elaboration(No details, definitions, comparisons of SQL jargon). For example, in the Trigger section, no explanation of what is SQL trigger? Why we need it? Instead, just introduces syntax... For the functions part, what is the difference between the SQL language function and the Plpgsql function? There are so many questions left... I can only give this course 3-star at most. If you only want syntax this is the course for you but if you really want to dive deep without blindly write code, it is better to find another course somewhere.
By Venkata Bollimuntha on 11/14/2020
Its really well detailed and well explained.
By Pritam Chatterjee on 11/14/2020
ok
By Mariska Marnane on 11/14/2020
easy to follow
By Wiktor Gonczaronek on 11/14/2020
I came here knowing "something" about SQL, but mostly working on ORMs in my job. I wanted to enhance my knowledge and understand better what does the ORM hide from me and how to use it better. This course has fullfilled my expectations.
There are a few drabacks. Some are minor, like audio quality (the sound of hitting keys may be annoying), some are more serious like the fact that sometimes the course is a bit like documentation - topic 1, topic 2, topic n. Sometimes I had a feeling that my knowledge doesn't build up and I'm about to forget previous lessons. The difficulty was rather steady.
However, I must say that topics that did interest me most like optimization were well explained. I learned how to read plans, how to use indexes etc. I had a feeling that Will really has decent experience with what he does.
To sum up, I do recommend this course. One just needs to keep in mind that some topics will need a lot of own work outside of it. So to answer the "hope you enjoyed it" - yes Will I did. Thank you ;-)
By Oyesh Mann Singh on 11/7/2020
pgadmin installation took me a while
By Maksym Dukov on 11/7/2020
Invaluable course. Lots of material in a nice and structured form.
Nitpicks:
1. I wish example tables were smaller and had fewer columns. That would spare us from typing lots of fields.
2. It would be nice to see a bit more detailed explanations on some hard topics such as recursion.
By Frank van der Pluijm on 10/26/2020
Although one might wonder how an SQL course be really entertaining, I feel in this course there is no effort to make that any better. The repetitiveness is really bothering me, the examples too dry and uninspiring. Will not follow through here.






