Consider a scenario where you want to retrieve a list of employees and their assigned projects. However, some employees are not assigned to any project. Which type of JOIN would be best suited to get this information without omitting any employee?

  • LEFT JOIN
  • INNER JOIN
  • RIGHT JOIN
  • FULL OUTER JOIN
A LEFT JOIN retrieves all rows from the left table (employees) and the matching rows from the right table (projects). It includes employees with no matching projects, meeting the requirement.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *