User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 374,023 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,775 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 892 | Replies: 3
Reply
Join Date: Apr 2007
Location: Australia
Posts: 3
Reputation: ali_rulz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ali_rulz's Avatar
ali_rulz ali_rulz is offline Offline
Newbie Poster

Help Assignment Help Plz!! Urgent

  #1  
Apr 24th, 2007
hey all
i need to find the birds with the largest number of habitats.
attached is the database i am working with.

i sort of need the solution in about 2hrs time....

thanx ali
Attached Files
File Type: zip BirdsSql.ZIP (24.4 KB, 2 views)
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Location: Australia
Posts: 3
Reputation: ali_rulz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ali_rulz's Avatar
ali_rulz ali_rulz is offline Offline
Newbie Poster

Re: Assignment Help Plz!! Urgent

  #2  
Apr 24th, 2007
sorry i forgot to add that i am using winsql and need the query.
Reply With Quote  
Join Date: May 2006
Location: New Jersey
Posts: 1,421
Reputation: stymiee is on a distinguished road 
Rep Power: 5
Solved Threads: 33
Moderator
Staff Writer
stymiee's Avatar
stymiee stymiee is offline Offline
He's No Good To Me Dead

Re: Assignment Help Plz!! Urgent

  #3  
Apr 24th, 2007
Did you write your own query yet? If not, try it and post it here if you are having problems. Otherwise, do your own homework. We're here to help, not do your work for you.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Reply With Quote  
Join Date: Apr 2007
Location: Australia
Posts: 3
Reputation: ali_rulz is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ali_rulz's Avatar
ali_rulz ali_rulz is offline Offline
Newbie Poster

Re: Assignment Help Plz!! Urgent

  #4  
Apr 24th, 2007
yeh i have written my own code but not even sure if on right track...
Select H.HCode, Count (*)
From Birds B, Habitats H, Bird_Habitats BH
Where B.BirdID = BH.BirdID
Group By H.HCode, B.BirdID
Having Count (*) >= some (Select Count (*)
From Bird_Habitats
Group By BirdID);

and just for the record i wasnt trying to get u to do my homework for me i was purely trying to get help in understanding how to write this particular query!
thanx ali
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 11:26 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC