Skip to main content
SQL • LESSON 78

JOIN with Multiple Columns

How can we return employee information together with department location?

Intermediate3 Minutes910 XP
🤔 THE QUESTION

How can we return employee information together with department location?

💡 WHAT IS IT?

JOIN statements project multiple attributes from both connected tables into a consolidated unified schema.

🎯 WHAT IS IT USED FOR?

Enriched reporting, employee directory compilation with office location details.

💻 EXAMPLE
SELECT e.name, d.department_name, d.location
FROM employees e
JOIN departments d
ON e.department_id = d.department_id;

🎯 Mission Objectives

Practice typing production-grade SQL code for JOIN with Multiple Columns.

  • Multi-column projection
  • Enriched schema
  • JOIN syntax
  • Relational lookup