Re: Sorting by more than 1 column

2004-01-19 Thread Jigal van Hemert
> I didn't know if this was possible and haven't tried yet. My boss wants > me to sort results by 3 columns (city, county, price.) He would like city > and county in alphabetical order a-z and have price from highest to > lowest. I told him I didn't think it was possible to sort two different > fi

Re: Sorting by more than 1 column

2004-01-19 Thread Aleksandar Bradaric
Hi, > I told him I didn't think it was possible to sort two > different fields one acending and one descending. But, of course, it is possible :) http://www.mysql.com/doc/en/SELECT.html SELECT ... ORDER BY city, county, price DESC Take care, Aleksandar -- MySQL General Mailing

Re: Sorting by more than 1 column

2004-01-19 Thread Hontvari Jozsef
ORDER BY city, price DESC - Original Message - From: "Ed Curtis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 19, 2004 2:00 PM Subject: Sorting by more than 1 column > > I didn't know if this was possible and haven't tried y

Re: Sorting by more than 1 column

2004-01-19 Thread Hontvari Jozsef
ORDER BY city, price DESC - Original Message - From: "Ed Curtis" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 19, 2004 2:00 PM Subject: Sorting by more than 1 column > > I didn't know if this was possible and haven't tried y

Sorting by more than 1 column

2004-01-19 Thread Ed Curtis
I didn't know if this was possible and haven't tried yet. My boss wants me to sort results by 3 columns (city, county, price.) He would like city and county in alphabetical order a-z and have price from highest to lowest. I told him I didn't think it was possible to sort two different fields one