Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: ORDER BY COUNT(*)?

by Caillte (Friar)
on Mar 20, 2002 at 15:48 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://153009]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-26 00:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found