Avihai
01-22-2008, 07:59 PM
Hi all,
I have this code:
SELECT name, COUNT(userid) AS most FROM table WHERE published=1 GROUP BY userid
and I want to ORDER BY the result of most after being counted, any ideas?
Thanks,
Avihai
I have this code:
SELECT name, COUNT(userid) AS most FROM table WHERE published=1 GROUP BY userid
and I want to ORDER BY the result of most after being counted, any ideas?
Thanks,
Avihai