Hello. Been having a field day with the sccm sql database. Sadly I have no knowledge of sql really except for what basic googling's brought me. I was trying to generate a count of how many of our systems have intel, nvidia or ati/amd graphics cards. I've tried different things, but the closest I've gotten to something working, is a script that counts all of the same types of graphics cards. Sadly that's still a list of 103 different ones (based on windows driver name). Why can't I make a sum() with a count() inside? how else can I get what I need.What I want is to have it return something similar to :Nvidia Intel Amd102 604 815Below are three samples of what I've tried : SELECT (select count(*) where Video.Name0 like '%nvidia%') as [Nvidia],(select count(*) where Video.Name0 like '%intel%') as [Intel], (select count(*) where Video.Name0 like '%ati%' or Video.Name0 like '%amd%') as [Amd]FROM v_GS_VIDEO_CONTROLLER Video inner join v_R_System sys on Video.ResourceID=sys.ResourceIDSELECT [vendor] = casewhen Video.Name0 like '%nvidia%' then 'Nvidia'when Video.Name0 like '%intel%' then 'Intel'when Video.Name0 like '%ati%' or Video.Name0 like '%amd%' then 'Amd'else 'Other'endFROM v_GS_VIDEO_CONTROLLER Video inner join v_R_System sys on Video.ResourceID=sys.ResourceIDSELECT sum((select count(*) where Video.Name0 like '%nvidia%')) as [Nvidia],sum((select count(*) where Video.Name0 like '%intel%')) as [Intel], (select count(*) where Video.Name0 like '%ati%' or Video.Name0 like sum('%amd%')) as [Amd]FROM v_GS_VIDEO_CONTROLLER Video inner join v_R_System sys on Video.ResourceID=sys.ResourceIDAny help appreciated.