Hi, I am trying to get the sum of the total volumesize into a single row, but when I try to run this, it's giving me 3 rows.
Can you show me how to add this up. Thank you very much for the help!
SELECT
n.caption, n.ipaddress, sum(v.VolumeSize) as [disk]
from orion.nodes n
left join orion.Volumes v on n.NodeID = v.NodeID
where v.VolumeSize is not NULL
group by n.caption, n.IPAddress, v.VolumeSize