• Post Reply Bookmark Topic Watch Topic
  • New Topic

Please help with db query  RSS feed

 
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am able to display records on the basis of the above queries but trying to display records according to companies ranks of the posts in descending order

I am working with oracle XE and Java Servlet

Thanks & best regards
 
author & internet detective
Marshal
Posts: 37708
578
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Farakh,
Take a look at the group by and order by clauses. They let you sort within an aggregate function.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jeanne Boyarsky:
Farakh,
Take a look at the group by and order by clauses. They let you sort within an aggregate function.



Thanks a lot the problem solved
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!