This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Help Simplify this Query (Report)

I have been pulling individual queries to create this report but I haven't found out how to make it into just 1 query.  Can anyone assist?

Here are the queries I am using to get the info.   Can you think of a way to simplify this into 1 process?

SELECT servername, Nodes, Elements, Interfaces, Volumes FROM [dbo].[Engines]

SELECT COUNT(*) AS ICMP FROM Nodes
Where EngineID = '8'
and ObjectSubType = 'icmp'

SELECT COUNT(*) AS SNMP FROM Nodes
Where EngineID = '8'
and ObjectSubType = 'snmp'

SELECT COUNT(*) AS WMI FROM Nodes
Where EngineID = '8'
and ObjectSubType = 'wmi'