We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- SQL
- Basic Join
- African Cities
- Discussions
African Cities
African Cities
Sort by
recency
|
1058 Discussions
|
Please Login in order to post a comment
SELECT ci.NAME FROM CITY ci INNER JOIN COUNTRY co ON ci.CountryCode = co.Code WHERE co.CONTINENT = 'Africa';
SELECT ci.name FROM city ci JOIN country co ON ci.countrycode = co.code WHERE continent LIKE 'AFRICA'
The important learning here is about JOIN
This SQL problem is a great way to practice understanding JOIN operations between two related tables. play exchange login password