programming-examples/sql/JoinHRDatabase/9. Write a query in SQL to display the department name, city, and state province for each department.sql
2019-11-18 14:05:53 +01:00

5 lines
255 B
SQL

/*9. Write a query in SQL to display the department name, city, and state province for each department.*/
SELECT D.department_name , L.city , L.state_province
FROM departments D
JOIN locations L
ON D.location_id = L.location_id;