Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please help with db query

 
Farakh khan
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic