Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 sqlzoo tute

Author  Topic 

blackbunny
Starting Member

3 Posts

Posted - 2008-12-16 : 21:32:21
could i please get some help with the question 2c from [url]http://sqlzoo.net/2.htm[/url]

this is the only one that i cant figure out :'(

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-12-16 : 21:35:56
What did you try?
Go to Top of Page

blackbunny
Starting Member

3 Posts

Posted - 2008-12-16 : 23:07:58
select region
from bbc
where population >= (select sum(population) from bbc where region = region and population >= 100000000)
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2008-12-16 : 23:16:18
SELECT region
FROM bbc
GROUP BY region
HAVING SUM(population) >= 100000000

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

blackbunny
Starting Member

3 Posts

Posted - 2008-12-16 : 23:34:17
thank you very much
Go to Top of Page
   

- Advertisement -