马可
我对SQL还是很陌生,我想回答SQL ZOO的练习8 ,但是我缺少一些东西。请你帮助我好吗?
List the continents that have a total population of at least 100 million.
我正在尝试的是:
select continent
from world
group by continent
having count(population) >= 100000000
sqlover90
您的错误是使用COUNT而不是SUM。
请尝试以下操作:
select continent
from world
group by continent
having sum(population) >= 100000000
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
编辑于
我来说两句