--Some countries have populations more than three times that of any of their neighbours (in the same continent). Give the countries and continents.
SELECT name,
region
FROM bbc x
WHERE population >
-- this sub query finds each neighbour (not including itself) and returns the max populations multiplied by 3
(SELECT 3 * MAX(population)
FROM bbc y
WHERE x.region = y.region
AND x.name <> y.name)