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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -