I'm a Total noob with sql and swql, so please help.
I'm building a Modern dashboard, based on one I downloaded from Thwackfest. My standard overview of all networking equipment works fine. Now I'm trying to start building system specific dashboards.
my current sql is
SELECT n.Caption AS [Node Name]
, n.Status
, n.StatusDescription AS [Status Description]
, n.DetailsURL AS [Node Details URL]
, n.MachineType AS [Vendor Name]
, n.VendorInfo.Icon AS [System Vendor Icon]
, n.CPULoad AS [CPULoad]
, n.ResponseTime AS [Response Time]
, n.PercentMemoryUsed AS [Memory Usge]
, n.PercentLoss AS [Packet Loss]
FROM Orion.Nodes n
WHERE n.Status = 14
I want to add to this widget to display the above but only for devices which are in a specific solarwinds group.... In this case my group ID is 2, group name is PACS
The following SQL shows number of up nodes in that group for a different widget.
SELECT Count (n.DisplayName) as ContainerMembers
FROM Orion.ContainerMembers n
WHERE n.ContainerID = '2' AND n.Status = '1'
Once I get this I can then start adding widgets for disk space and hopefully application alerts, but I just need to know how to get information from two tables at the same time.
This image is entire infrastructure overview which works fine.

This is what I'm trying to build for a specific group. The top widgets do work, Is the bottom ones where I want to actually show more details for the group I'm struggling with.

Thanks