Description
Perform LEFT JOIN to show all employees with department names.
Mission:Practice the core SQL concept for this chapter.
Investigation:Perform LEFT JOIN to show all employees with department names.
Expected Outcome:Return the correct result set.
Concept tags:
#LEFT JOIN#RIGHT JOIN#FULL JOIN
Estimated: 3 minDifficulty: Beginner
Database Schema
Relationships
No relationships documented.
Tables
departments
iddepartment_name
employees
idnamedepartment_idsalary
Monaco SQL EditorBeginner3m
Loading...
SCAN
FILTER
GROUP
SORT
RESULT
Pipeline elapsed: 0ms
Shortcuts: Ctrl/Cmd+Enter run, Ctrl/Cmd+/ comment, Ctrl/Cmd+Shift+F format
#LEFT JOIN#RIGHT JOIN#FULL JOIN
Result Summary
Expected: 5
Actual: 0
Needs update
Smart Hint: You returned fewer rows. Check JOIN/WHERE.
Progressive Hints
Hint 1: Follow the pattern in the prompt.
Run a query to see results.
Tip: Explore table previews first to understand data relationships.