You will need to leverage the Message field of the Component monitor result to display the data. The template below is a good example
https://thwack.solarwinds.com/docs/DOC-171484
I'm assuming you will use the results of the query to 'manually inspect' if the results indicate normal behavior of your applications writing to this database. It should be possible to instead modify the query to automate this manual action. This is exactly what the template referenced above does.