Last chance: 50% off unlimited learning
Sale ends in
Course
Level up your SQL knowledge and learn to join tables together, apply relational set theory, and work with subqueries.
Loved by learners at thousands of companies
Training a Team?
Try for Business →Curriculum
Stack rows from multiple tables into a single unified result, and know when stacking (rather than joining) is the right approach for combining data.
Enrich a base table with additional data without losing any rows, and understand when a left join is the right choice — specifically, when not every row in your primary table has a match in the other table.
Combine only the rows that match across tables, understand how inner joins differ from left joins, and choose between them based on whether unmatched rows matter to your analysis.
Join tables accurately when no single column uniquely identifies matching rows, and recognize the consequences of choosing incorrect join columns.
Joining Data in SQL
Course
Complete
Make progress on the go with our mobile courses and daily 5-minute coding challenges.
DataCamp's AI tutor personalizes every lesson in real time — adapting to your role, level, and goals. You'll learn faster and smarter in courses taught by the world's #1 AI tutor for AI and data. Your pace, your knowledge, your goals.
Learn MoreGet your team access to the full DataCamp platform, including all the features.
For a bespoke solution book a demo.
Chief AI Officer, DataCamp
"Excelente Curso"
After doing these courses, I feel confident creating professional visualizations and dashboards

For someone without a strong programming background, DataCamp was really beginner-friendly. You watch some videos and then practice immediately - I was able to learn fast

DataCamp is a cost-effective way to upskill and stay relevant with data and AI. It’s structured, practical, and lets you apply what you learn immediately