This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes More than one orderyby Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "More than one orderyby" Watch "More than one orderyby" New topic
Author

More than one orderyby

bala rajesh
Greenhorn

Joined: Jul 31, 2006
Posts: 6
I want a "query" to retrive the data from one oracle table,
the conditions are one column orderby ascending order and another column orderby desc order. The two condition in a same query, is possible then reply me

Thanks in Advance

Bala
Stary Kapec
Ranch Hand

Joined: Dec 04, 2005
Posts: 81
SELECT *
FROM table_name
ORDER BY col_name1 ASC, col_name2 DSC
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: More than one orderyby
 
jQuery in Action, 3rd edition