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
281 B
MySQL
5 lines
281 B
MySQL
5 years ago
|
/*17. Write a query in SQL to display the name of the country, city, and the departments which are running there.*/
|
||
|
SELECT country_name,city, department_name
|
||
|
FROM countries
|
||
|
JOIN locations USING (country_id)
|
||
|
JOIN departments USING (location_id);
|