Use SQL queries in SAM
Any value you can collect from the database can be generated, formatted, or calculated using a SQL query as a variable. To use a SQL query as a variable in SolarWinds Platform products, use ${SQL:{query}}
as shown in the following example :
Select Count(*) From Nodes
:
To learn more about SQL queries, see: