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;


order by column_a asc, column_b desc;

for example.

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to