Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Course

Join and Combine Data with SQL in PostgreSQL

Combine data in PostgreSQL using joins, set operations, and subqueries. Learn INNER/OUTER/NATURAL joins, UNION/INTERSECT/EXCEPT with ALL, CTEs, and EXPLAIN to validate results for accurate analytics.

Beginner
1h 26m

Created by Gerald Britton

Last Updated Jan 09, 2026

Course Thumbnail
  • Course

Join and Combine Data with SQL in PostgreSQL

Combine data in PostgreSQL using joins, set operations, and subqueries. Learn INNER/OUTER/NATURAL joins, UNION/INTERSECT/EXCEPT with ALL, CTEs, and EXPLAIN to validate results for accurate analytics.

Beginner
1h 26m

Created by Gerald Britton

Last Updated Jan 09, 2026

Get started today

Access this course and other top-rated tech content with one of our business plans.

Try this course for free

Access this course and other top-rated tech content with one of our individual plans.

This course is included in the libraries shown below:

  • Data
What you'll learn

Teams need accurate answers that span multiple tables and queries. Choosing the right way to combine data in PostgreSQL is essential. In this course, Join and Combine Data with SQL in PostgreSQL, you’ll gain the ability to combine relational data accurately and efficiently in PostgreSQL. First, you’ll explore core joins, including INNER, LEFT/RIGHT/FULL, CROSS, NATURAL, and when to use USING vs. ON. Next, you’ll discover set operations—UNION, INTERSECT, and EXCEPT—plus their ALL variants, column-alignment rules, NULL behavior, and correct ORDER BY placement. Finally, you’ll learn how to apply subqueries and simple CTEs to structure complex queries and use EXPLAIN to validate results and plans. When you’re finished with this course, you’ll have the skills and knowledge of ANSI-compliant joins, set operations, subqueries, and CTEs in PostgreSQL needed to combine data with confidence for real-world analytics.

Join and Combine Data with SQL in PostgreSQL
Beginner
1h 26m
Table of contents

About the author
Gerald Britton - Pluralsight course - Join and Combine Data with SQL in PostgreSQL
Gerald Britton
20 courses 4.2 author rating 635 ratings

Gerald is a multiple-year of the Microsoft MVP award, Gerald has led introductory classes in Python and SQL for industry-sponsored events at Ryerson University, Toronto and the University of Toronto (his alma mater). 

2025 Forrester Wave™ names Pluralsight as a Leader among tech skills dev platforms

See how our offering and strategy stack up.

forrester wave report