Re: [GENERAL] ORDER BY problems

2000-02-18 Thread omid omoomi
ury <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [GENERAL] ORDER BY problems >Date: Fri, 18 Feb 2000 20:52:06 + > >I cannot seem to get ORDER BY to work properly when I >want to sort using two different columns. I have code >similar to the following: > >

[GENERAL] ORDER BY problems

2000-02-18 Thread David Shrewsbury
I cannot seem to get ORDER BY to work properly when I want to sort using two different columns. I have code similar to the following: SELECT tracking_num, username FROM reports WHERE customer='$customer' ORDER BY tracking_num, username This will sort by tracking_num (int4, primary key), but NOT