JOINS Flashcards

1
Q

INNER JOIN

A
  • Retrieves records that have matching values in both tables
  • EXCLUDES records taht dont have a match in either table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

LEFT JOIN

A
  • Retrieves ALL records from the left tables and matches them with corresponding records from the right table
  • It includes NULL values for non-matching records from the right table and only includes records that match from the right table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

RIGHT JOIN

A
  • Retrieves all records from the right table and matches them with corresponding records from the left table
  • It includes NULL values for non-matching records from the left table and only includes records that match from the left table
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

FULL OUTER JOIN

A
  • Retrieves all records from BOTH left and right tables
  • Includes records that have MATCHING values in EITHER table, as well as records that DO NOT have a match in either table, filling in NULL values accordingly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly