Joins Flashcards

(7 cards)

1
Q

What is a Join

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Inner Join

A

the most common type of join. It is used to return all the rows from multiple tables where the join condition is satisfied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Full/Outer Join

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Left Join

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Right Join

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many types of Joins?

A

4: Inner, Full/Outer, Left, Right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Interactive Join Practice

A

https://learnsql.com/course/joins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly