Should work, though it may need an "AS" between the COUNT(*) and the col2 (an alias for the column) depending on the RDBMS (I don't know much about MySQL I'm afraid).SELECT DISTINCT surveys, COUNT(*) col2 FROM neverland GROUP BY surveys ORDER BY col2 DESC
In reply to Re: ORDER BY COUNT(*)?
by Matts
in thread ORDER BY COUNT(*)?
by peppiv
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |