Order by the 2nd column >>what is the 2? in the order by statement mean? >>thanks >> >>-----Original Message----- >>From: Raśl Castro [mailto:[EMAIL PROTECTED] >>Sent: Thursday, June 03, 2004 6:20 PM >>To: [EMAIL PROTECTED] >>Subject: Re: [PHP] Best way to sort? >> >> >>The best way is: >> >>SELECT person_name, count(*) >>FROM table_name >>GROUP BY person_name >>ORDER BY 2 DESC
- [PHP] Best way to sort? Brian Dunning
- Re: [PHP] Best way to sort? John Nichel
- RE: [PHP] Best way to sort? Angelo Zanetti
- Re: [PHP] Best way to sort? Rob Adams
- Re: [PHP] Best way to sort? Daniel Clark
- Re: [PHP] Best way to sort? Raśl Castro
- RE: [PHP] Best way to sort? Angelo Zanetti
- Re: [PHP] Best way to sort? Daniel Clark
- Re: [PHP] Best way to sort? Raśl Castro
- Re: [PHP] Best way to sort? Burhan Khalid