In alle versies van MySQL, alias het aggregaat in de SELECT-lijst en rangschikken op alias:
SELECT COUNT(id) AS theCount, `Tag` from `images-tags`
GROUP BY `Tag`
ORDER BY theCount DESC
LIMIT 20
In alle versies van MySQL, alias het aggregaat in de SELECT-lijst en rangschikken op alias:
SELECT COUNT(id) AS theCount, `Tag` from `images-tags`
GROUP BY `Tag`
ORDER BY theCount DESC
LIMIT 20