Grafana distinct select

Hello friends,
There is a table named nodes. There are columns in the columns called “nodename, nodeabone, index”.

distinct and “nodename” to bring the same.

SELECT distinct (“nodename”) FROM “nodes”

in this way it just brings the nodename field. does not bring other columns. can you help me

1 Like