I want to modify the underlying query format

We want to improve the grafana-diagram plugin. It can query the database to get all the nodes in the flowchart, and dynamically display the flowchart composed of these nodes. But grafana doesn’t seem to be able to query multiple string values. I want to add a part of the field to the response, but I didn’t find the corresponding location. What should I do?such as " select name ,school ,Time as time,age as value from student "