I do not see the need to join here. Just list all the keywords along with the number of times the keyword appears, from the usual to the less frequent.
SELECT keyword, COUNT(*) freq
FROM keywordTable
GROUP BY keyword
ORDER BY freq DESC
Ben s source
share