How would one produce the statistic for this?
Select Round ( ((SELECT [StatisticData] as Statistic FROM [SolarWindsOrion].[dbo].[APM_AlertsAndReportsData] where NodeName LIKE '%jsmhpxweb02a%' and ApplicationName LIKE '%CMD Glassfish%' and ComponentName LIKE '%Memory Heap Used%') / (SELECT [StatisticData] as Statistic FROM [SolarWindsOrion].[dbo].[APM_AlertsAndReportsData] where NodeName LIKE '%jsmhpxweb02a%' and ApplicationName LIKE '%CMD Glassfish%' and ComponentName LIKE '%Memory Heap Max%'))*100, 2) as perc;