Algorithm & SQL/HackerRank

[HakerRank / MySQL] African Cities

김룹 2024. 3. 10. 12:57

 

https://www.hackerrank.com/challenges/african-cities/problem?isFullScreen=true

 

African Cities | HackerRank

Query the names of all cities on the continent 'Africa'.

www.hackerrank.com

 

 

 

SELECT city.name
FROM city
    INNER JOIN country ON city.countrycode = country.code
WHERE country.continent = 'Africa'