rvgfox wrote:
Ok it works, but I get a record by version.
Really I'm interesting in the software name, not in the version.
Is it possible make drill down in that way?
This worked for me.. shows the SW Name.
I included UserName and Domain.
Removed: tbl.computers.ComputerUnique, "Equipos"
Also, reordered columns to show: Username, Computer, Domain, Software, Software Version.
Select Top (1000000) tblComputers.Username, tblComputers.ComputerUnique, tblComputers.Computername, tblComputers.Domain, tblSoftware.softwareName As Software, tblSoftware.softwareVersion As Version From tblComputers Inner Join tblSoftware On tblComputers.Computername = tblSoftware.ComputerName, tsysantivirus Where tblSoftware.softwareName Like tsysantivirus.Software Group By tblComputers.Username, tblComputers.ComputerUnique, tblComputers.Computername, tblComputers.Domain, tblSoftware.softwareName, tblSoftware.softwareVersion Order By Count(tblComputers.ComputerUnique) Desc