JOIN Operations Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering SQL Statements

What you'll be asked

  1. Which JOIN type returns all rows from the left table and the matched rows from the right table, returning NULL for right-side columns when no match exists?
  2. You have two tables: 'Employees' and 'Departments'. You want to retrieve a list of all employees, including those who are not currently assigned to a department. Which JOIN should you use?
  3. What is the primary difference between an INNER JOIN and a FULL OUTER JOIN?
  4. When performing a CROSS JOIN between Table A (10 rows) and Table B (5 rows), how many rows will the resulting output contain?
  5. You are joining 'Orders' and 'Customers' tables. If you use an INNER JOIN but the 'CustomerID' column contains NULL values in the 'Orders' table, what happens to those specific rows?

Answers and explanations come after you submit.