Joins Flashcards
(7 cards)
What is a Join
A JOIN clause is used to combine rows from two or more tables, based on a related column between them. It is used to merge two tables or retrieve data from there.
Inner Join
the most common type of join. It is used to return all the rows from multiple tables where the join condition is satisfied.
Full/Outer Join
returns all the records when there is a match in any of the tables. Therefore, it returns all the rows from the left-hand side table and all the rows from the right-hand side table.
Left Join
used to return all the rows from the left table but only the matching rows from the right table where the join condition is fulfilled.
Right Join
used to return all the rows from the right table but only the matching rows from the left table where the join condition is fulfilled.
How many types of Joins?
4: Inner, Full/Outer, Left, Right
Interactive Join Practice
https://learnsql.com/course/joins