W09 Flashcards

(6 cards)

1
Q

What is the purpose of a SQL join?

A

A SQL join combines data from multiple tables based on a related column, allowing meaningful data retrieval from a normalized database.

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

INNER JOIN

A

Returns rows that have matching values in both tables.

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

LEFT JOIN

A

Returns all rows from the left table, and matched rows from the right table.

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

RIGHT JOIN

A

Returns all rows from the right table, and matching rows from the left table.

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

FULL OUTER JOIN

A

Returns all rows from both tables, even if there is not a related key.

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