MySQL Lists are EOL. Please join:

List:Brisbane MySQL Users Group« Previous MessageNext Message »
From:Scott McClintock Date:August 10 2005 2:53am
Subject:Re: [SPAM] Re: Sort by count
View as plain text  

Arjen Lentz wrote:
> Hi Scott, Mark,
> On Wed, 2005-08-10 at 10:26, Scott McClintock wrote:
>>Two simple solutions:
>>SELECT count(software_name) software_count, software_name.....
>>order by software_count
>>.... order by 1 .....
> That's evil. I believe the SQL standards committee is considering
> ripping that out.

I know :)  Which is why its option b!  But that aside, sometimes the 
evil solution is the best solution... regardless of what the purists 
say! (but not in this case ;)


Scott McClintock                    Email: smcclintock@stripped
General Manager                     Phone: 07 3842 8888
Technical Solutions                   Fax: 07 3842 8899
NetOptions Pty Ltd                    Web:
Brisbane, Australia
............... Simple Solutions in a Complex World ....................
Sort by countMark Unwin10 Aug
  • [SPAM] Re: Sort by countScott McClintock10 Aug
    • Re: [SPAM] Re: Sort by countArjen Lentz10 Aug
      • Re: [SPAM] Re: Sort by countScott McClintock10 Aug