DatabasesLesson 2 of 2 in the course Relational model and SQL
SQL Joins: Matching, Row Preservation, and Execution
5 flashcards · 5 quiz questions · 5 match pairs · 3 fill-in sentences · English
Lesson progress
0 / 5
Your progress is kept in this browser only.Sign up to save it
Summary
A SQL join combines columns from tables into a result table. Joins are essential when related information is stored separately, such as employee names in one table and department names in another.
A join combines rows from tables according to a specified relationship. For example, an Employee table may store a DepartmentID foreign key that refers to the Department table's primary key. Joining on that key can place employee and department information in the same result row.
All flashcards
Quiz questions
Based on the Wikipedia article Join (SQL), licensed CC BY-SA 4.0. Adapted into a summary, flashcards and quizzes.
More in Databases
All Databases lessonsDatabasesSQL Foundations: Language Model, History, Types, and Semantics5 flashcards · 5 quiz questions · 4 gamesPlay free →DatabasesDatabase Query Optimization: Plans, Costs, and Estimation5 flashcards · 5 quiz questions · 4 gamesPlay free →DatabasesDatabase Index Structures, Query Patterns, and Trade-Offs5 flashcards · 5 quiz questions · 4 gamesPlay free →DatabasesDatabase Transaction Isolation: Anomalies, Levels, and Concurrency Control5 flashcards · 5 quiz questions · 4 gamesPlay free →