|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Order by using two different values
I am wondering how I would use the ORDER BY query, to order a set of results using two different fields.
So it first of all order the cat_id in to number order. But as there will be serveral different rows with the same cat_id, I would then like to make it put in order by cat_order depending on the cat_id. So is this possible. |
|
#2
|
||||
|
||||
|
ORDER BY cat_id, cat_order
__________________
Casuistry Agnostic |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > Order by using two different values |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|