I have a table that contains messages taken for our clients and I basically need to find the top 50 list of the most commonly used words.
The table is called Messages
, the typed message is Message
. Effectively I want to SELECT
all rows, recursively split each Message
by space to get all words, GROUP BY
each word and COUNT
them. I'm struggling on recursively splitting by a space - any ideas?