Mysql dash board

Hi, here’s my dashboard mysql
image
I want to show like this
image

Could you let me know query plz

ps. I tried ‘select replace(details,’\n’,’’)from mytable1;’ but it only works mysql not in grafana dashboard