probeer eens een tijdelijke tabel te gebruiken
SELECT *
FROM
(
SELECT country, sum(id) as cnt
FROM mygroup GROUP BY country WITH rollup
) t
ORDER BY cnt;
Dit artikel kan je helpen linktekst
probeer eens een tijdelijke tabel te gebruiken
SELECT *
FROM
(
SELECT country, sum(id) as cnt
FROM mygroup GROUP BY country WITH rollup
) t
ORDER BY cnt;
Dit artikel kan je helpen linktekst