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
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
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
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