Ron Piggott (PHP) wrote:
Is it possible to do an ORDER BY column_a column_b ASC  ?  IE Can you
specify two columns to cause the output to be displayed in a specific
order?  Ron


Yes (a quick search would have told you this too).

It's best to specify the order for each one:

order by column_a asc, column_b asc;

or

order by column_a asc, column_b desc;

for example.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to