Given the CITY
and OUNTRY
tables, query the names of all cities where the CONTINENT is 'Africa'
.
Note
: CITY.CountryCode and COUNTRY.Code are matching key columns.
Input Format
The CITY
and COUNTRY
tables are described as follows:
SELECT A.NAME
FROM CITY AS A INNER JOIN COUNTRY AS B
ON A.COUNTRYCODE = B.CODE
WHERE CONTINENT = 'Africa';