Hoppa till huvudinnehåll
HemSQL

course

Joining Data in SQL

GrundläggandeFärdighetsnivå
Uppdaterad 2026-04
Level up your SQL knowledge and learn to join tables together, apply relational set theory, and work with subqueries.
Börja Kursen Gratis
SQLData Manipulation2 timmar - 3 timmar3,950 XP310K+Uttalande om prestation

Skapa ditt gratiskonto

eller

Genom att fortsätta accepterar du våra Användarvillkor, vår Integritetspolicy och att dina uppgifter lagras i USA.

Älskad av elever på tusentals företag

Group

Utbilda 2 eller fler personer?

Testa DataCamp for Business

Kursbeskrivning

Joining data is an essential skill in data analysis, enabling you to draw information from separate tables together into a single, meaningful set of results. In this comprehensive course on joining data, you'll delve into the intricacies of table joins and relational set theory, learning how to optimize your queries for efficient data retrieval.

Understand Data Joining Fundamentals

You will learn how to work with multiple tables in SQL by navigating and extracting data from various tables within a SQL database using various join types, including inner joins, outer joins, and cross joins. With practice, you'll gain the knowledge of how to select the appropriate join method.

Explore Advanced Data Manipulation Techniques

Next up, you'll explore set theory principles such as unions, intersects, and except clauses, as well as discover the power of nested queries in SQL. Every step is accompanied by exercises and opportunities to apply the theory and grow your confidence in SQL.

Förkunskapskrav

Intermediate SQL
1

Combining Data Vertically

  • Stacking Rows with UNION

    Stack rows from multiple tables into a single unified result, and know when stacking (rather than joining) is the right approach for combining data.

Börja Kursen Gratis
2

Combining Data Horizontally

  • Keeping All Rows with LEFT JOIN

    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.

  • Keeping Matching Rows with INNER JOIN

    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.

  • Joining on Multiple Columns

    Join tables accurately when no single column uniquely identifies matching rows, and recognize the consequences of choosing incorrect join columns.

Börja Kursen Gratis
Joining Data in SQL
Kursen
är

Få ett prestationsutlåtande

Lägg till denna inloggningsuppgifter i din LinkedIn-profil, ditt CV eller ditt CV
Dela det på sociala medier och i ditt prestationssamtal
Registrera Dig Nu

Gå med över 19 miljoner elever och börja Joining Data in SQL idag!

Skapa ditt gratiskonto

eller

Genom att fortsätta accepterar du våra Användarvillkor, vår Integritetspolicy och att dina uppgifter lagras i USA.

Utveckla dina datakunskaper med DataCamp för mobilen

Gör framsteg när du är på språng med våra mobila kurser och dagliga 5-minuters kodningsutmaningar.