SQL Data Analyst — Hard
Key points
- LEFT JOIN is used to include all rows from the left table and matching rows from the right table.
- WHERE right_table.id IS NULL filters out rows with no corresponding values in the right table.
- This approach helps identify missing relationships between tables.
Ready to go further?
Related questions
