Re: [PHP-DB] Multiple Order By

2001-03-25 Thread Januar R. Kramadibrata
Make it to: select * from Blah where test='testing' order by field1, field2 One step further: if you want field1 ascendingly ordered and field2 descendingly ordered, make it to: select * from Blah where test='testing' order by field1 asc, field2 desc Hope this help. Warmest Regards, Januar - B

[PHP-DB] Multiple Order By

2001-03-25 Thread Shannon Doyle
Hi There, I have a situation that requires me to do a multiple orderby on a MYSQL /PHP query. ie select * from Blah where test='testing' order by field1 then by field2 I am wondering if this will work or is there some other way I can acomplish such a task. The ordering should be decending. Th