
EG.

LEFT JOIN for department_id:

Right JOIN for department_id:

FULL JOIN for department_id:

INNER JOIN for department_id:

Recall
For more information
JOINs are going to be useful for working with relational databases and SQL—and you will have plenty of opportunities to practice them on your own. Here are a few other resources that can give you more information about JOINs and how to use them:
- **SQL JOINs:** This is a good basic explanation of JOINs with examples. If you need a quick reminder of what the different JOINs do, this is a great resource to bookmark and come back to later.
- **Database JOINs - Introduction to JOIN Types and Concepts:** This is a really thorough introduction to JOINs. Not only does this article explain what JOINs are and how to use them, but it also explains the various scenarios in more detail of when and why you would use the different JOINs. This is a great resource if you are interested in learning more about the logic behind JOINing.
- **SQL JOIN Types Explained in Visuals:** This resource has a visual representation of the different JOINs. This is a really useful way to think about JOINs if you are a visual learner, and it can be a really useful way to remember the different JOINs.
- **SQL JOINs: Bringing Data Together One Join at a Time:** Not only does this resource have a detailed explanation of JOINs with examples, but it also provides example data that you can use to follow along with their step-by-step guide. This is a useful way to practice JOINs with some real data.