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
|
1048 Discussions
|
Please Login in order to post a comment
For MySQL Platform
MYSQL SELECT CITY.NAME FROM CITY JOIN COUNTRY ON CITY.CountryCode = COUNTRY.Code WHERE CONTINENT = 'Africa';
SELECT C.NAME FROM CITY C LEFT JOIN COUNTRY CT ON C.COUNTRYCODE = CT.CODE WHERE CONTINENT = 'Africa';
MS SQL Server
SELECT city.name from city INNER JOIN country ON CITY.CountryCode = COUNTRY.Code WHERE continent = 'Africa'