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 - Bandung, Indonesia.
At 10:49 PM 3/25/01 +0930, you wrote:
>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.
>
>
>Thanks for any help on this.
>
>- Shannon
>
>
>
>
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]