A Gentle Introduction to

SQL

NEW.

These questions have been submitted by users.



'List the countries which have a GDP greater than the whole of Africa' using MySQL?
The following doesn't work with MySQL: SELECT name, gdp FROM cia WHERE gdp > (SELECT sum(gdp) from cia WHERE region = 'Africa'); Is there a way around this please?
db2 variations:
None

access
db2
mysql
oracle
postgres
sqlserver