How Do I Output "Statistic" Values For The Component?

Using SQL component monitor

SELECT [StatisticData] as Statistic
FROM [SolarWindsOrion].[dbo].[APM_AlertsAndReportsData]
where NodeName LIKE '%jsmhpxweb02a%' and ApplicationName LIKE '%CMD Glassfish%' and ComponentName LIKE '%Memory Heap Used%';