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
|
1077 Discussions
|
Please Login in order to post a comment
select c.NAME from CITY c inner join COUNTRY co on c.CountryCode = co.Code where CONTINENT = 'Africa';
MySQL--
SELECT CITY.NAME FROM CITY JOIN COUNTRY ON CITY.COUNTRYCODE = COUNTRY.CODE WHERE COUNTRY.CONTINENT = 'Africa';
SQL SERVER
SELECT S.NAME FROM CITY AS S JOIN COUNTRY AS A ON S.COUNTRYCODE = A.CODE WHERE A.CONTINENT = 'Africa';