Query:
select platform, count(platform) as OS_Count
from dsm_hardware_basic
group by platform
order by platform desc
Returns a table like:
Platform | OS_Count
Windows XP 1000
Windows 7 500
Linux 50
Windows Server 5
I want to be able to use a case statement (or something else) to lump all %Windows% platforms into a Windows and count them all together so the output would be
Returns a table like:
Platform | OS_Count
Windows 1505
Linux 50
Any ideas?