Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Databases / February 2008

Tip: Looking for answers? Try searching our database.

HSQL Query Help Request

Thread view: 
Ryton - 19 Feb 2008 10:52 GMT
G'Day, my movie database contains multiple occurrences of DVDs that
contain multiple movies (i.e. one original DVD has Lethal Weapon 1, 2
& 3 on it). Therefore there is a database record for each of these
movies but they are all located in the same location. This results in
the number of movies not being equal to the number of locations. The
locations are numbers, starting at one and increasing with each DVD
added to my collection. Can anyone provide me with a HSQL query that
will report the current largest location number in the database? I
have no knowledge of HSQL, so, any help you could offer would be
greatly appreciated! TIA
GArlington - 20 Feb 2008 12:06 GMT
> G'Day, my movie database contains multiple occurrences of DVDs that
> contain multiple movies (i.e. one original DVD has Lethal Weapon 1, 2
[quoted text clipped - 6 lines]
> have no knowledge of HSQL, so, any help you could offer would be
> greatly appreciated! TIA

See MAX() - this is SQL function


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.