Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: ORDER BY COUNT(*)?

by Caillte (Friar)
on Mar 20, 2002 at 15:48 UTC ( #153009=note: print w/ replies, xml ) Need Help??


in reply to Re: ORDER BY COUNT(*)?
in thread ORDER BY COUNT(*)?

In mySQL you need to use the AS keyword to name a column, ie count(*) AS col2. After that, this method works fine.

This page is intentionally left justified.


Comment on Re: Re: ORDER BY COUNT(*)?
Re: Re: Re: ORDER BY COUNT(*)?
by aersoy (Scribe) on Mar 20, 2002 at 18:40 UTC
    No, AS keyword is optional. The above query is perfect.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://153009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2014-10-01 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (391 votes), past polls