mysql : json type : construction of a groupby query -


i need group json elements across db rows

the query using :

select json_extract(m.content,'$.m.tags[*].wrd') word, count(*) count m group word order count desc

the result

["#utmp", "#seasiders"] 5 ["embeddedurl", "#imdb", "#nowwatching"]    4  ["youtube", "embeddedurl"]  4  ["#seasiders", "embeddedurl"]   4  

i need individual word / tokens :

["thanks"]  3  ["seriously"]   2  ["#doh"]    2  


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -