Tested in Build PGSQL (14300) or MSSQL (14306)
SELECT SystemInfo.WORKSTATIONNAME "Workstation",MAX(aaaUser.FIRST_NAME) AS "User", MAX(Systeminfo.MODEL) AS "Model",
(SoftwareList.SOFTWARENAME) "Software_Name",
MAX(swmfg.NAME) "Manufacturer",
MAX(SoftwareInfo.FILEVERSION) "Version" FROM SoftwareInfo
LEFT JOIN SoftwareList ON SoftwareInfo.SOFTWAREID=SoftwareList.SOFTWAREID
LEFT JOIN SoftwareType ON SoftwareList.SOFTWARETYPEID=SoftwareType.SOFTWARETYPEID
LEFT JOIN Systeminfo ON SoftwareInfo.WORKSTATIONID=SystemInfo.WORKSTATIONID
LEFT
JOIN Resources resource ON Systeminfo.WORKSTATIONID=resource.RESOURCEID
LEFT JOIN ResourceOwner rOwner ON resource.RESOURCEID=rOwner.RESOURCEID
LEFT JOIN ResourceAssociation rToAsset ON
rOwner.RESOURCEOWNERID=rToAsset.RESOURCEOWNERID LEFT JOIN SDUser sdUser
ON rOwner.USERID=sdUser.USERID LEFT JOIN AaaUser aaaUser ON
sdUser.USERID=aaaUser.USER_ID
LEFT JOIN SoftwareManufacturer swmfg ON SoftwareList.SWMANUFACTURERID=swmfg.SWMANUFACTURERID
WHERE SoftwareList.SOFTWARENAME like '%microsoft%' GROUP BY SystemInfo.WORKSTATIONNAME,SoftwareList.SOFTWARENAME
ORDER BY 1
SELECT SystemInfo.WORKSTATIONNAME "Asset Name",SystemInfo.WORKSTATIONNAME "Asset Name",
(SoftwareList.SOFTWARENAME) "Software Name",
SoftwareInfo.fileversion "Version",
LONGTODATE(SoftwareInfo.filecreatedtime) "Installed On",
MAX(softcat.softwarecategory) "Software Category" FROM SoftwareInfo
LEFT JOIN SoftwareList ON SoftwareInfo.SOFTWAREID=SoftwareList.SOFTWAREID
LEFT JOIN SoftwareType ON SoftwareList.SOFTWARETYPEID=SoftwareType.SOFTWARETYPEID
LEFT JOIN Systeminfo ON SoftwareInfo.WORKSTATIONID=SystemInfo.WORKSTATIONID
LEFT JOIN softwarecategory softcat on softcat.softwarecategoryid=softwarelist.softwarecategoryid
LEFT JOIN SoftwareManufacturer swmfg ON SoftwareList.SWMANUFACTURERID=swmfg.SWMANUFACTURERID
GROUP BY SystemInfo.WORKSTATIONNAME,SoftwareList.SOFTWARENAME, softwareinfo.fileversion, softwareinfo.filecreatedtime ORDER BY 1