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

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

Zajcica
Starting Member

Romania
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!

ahmeds08
Aged Yak Warrior

India
625 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.

mohammad.javeed.ahmed@gmail.com
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52317 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
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.14 seconds. Powered By: Snitz Forums 2000