Anda seharusnya bisa mendapatkannya menggunakan GROUP BY
klausa:
SELECT tagName, count(tagName) AS tagCount FROM tagTable GROUP BY tagName
Anda seharusnya bisa mendapatkannya menggunakan GROUP BY
klausa:
SELECT tagName, count(tagName) AS tagCount FROM tagTable GROUP BY tagName