Jump to content

Multiple "Order by" Tree


madcrazy1

Recommended Posts

I need to order by row parameter then by another row parameter then finally order these results by DESC is it possible?

 

one row called "animaltype" holds one of 5 variables either:(tiger,owl,whale,monkey,dog)

Another row holds one of 5 other variables either:

(blue,black,orange,pink,gold)

the last row holds the "id" which tells desc to order by "time" or "date"

 

i want to run a query to bring back a result of:\

only blue owls in descending order by their "id"

 

please cobstruct this ORDER Statement for me. Many Thanks

Link to comment
https://forums.phpfreaks.com/topic/104506-multiple-order-by-tree/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.