📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which join is best for listing all departments, including those with no employees?

A. CROSS JOIN
B. RIGHT JOIN with Departments on the left
C. LEFT JOIN with Departments on the left ✅
D. INNER JOIN

Correct Answer: C. LEFT JOIN with Departments on the left

Explanation

A LEFT JOIN from Departments keeps every department, even one with no matching employee rows.