Just a quick note for people who might be searching for "most frequent value out of a table " and have found madhippys SQL statement, it's great and works, with one little exception, it should read:
Code:
SELECT action, COUNT(action) AS ActionCount
FROM log
GROUP BY action
ORDER BY ActionCount DESC; //<- ActionCount instead of COUNT(action)
sina
london