You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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;