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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

22 Posts

Posted - 05/07/2013 :  04:42:44  Show Profile  Reply with Quote
Please, I have next entities: (girls read books in the library)

girls(ID, ...)
school(ID, ...)
book(ID, ...)

I have to make a kind of program in sql, for the book ID=3, from which school are most readers?

Please, if any suggestions- i try but get many mistakes in oracle (tried with Limit1, max, but no success...)
Many thanks!

Aged Yak Warrior

737 Posts

Posted - 05/07/2013 :  05:11:09  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
someone with plsql experience may help you.
This is Microsoft sql server forum.
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 05/07/2013 :  06:05:44  Show Profile  Reply with Quote
you've not specfied how they're related. Which table will relate books against girls who read them?

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000