En todas las versiones de MySQL, simplemente cree un alias para el agregado en la lista SELECT y ordene por el alias:
SELECT COUNT(id) AS theCount, `Tag` from `images-tags`
GROUP BY `Tag`
ORDER BY theCount DESC
LIMIT 20
En todas las versiones de MySQL, simplemente cree un alias para el agregado en la lista SELECT y ordene por el alias:
SELECT COUNT(id) AS theCount, `Tag` from `images-tags`
GROUP BY `Tag`
ORDER BY theCount DESC
LIMIT 20