Select tblADusers.Department, tblSoftware.softwareName, tblSoftware.softwareVersion, tblSoftware.SoftwarePublisher, Count(tblSoftware.SoftwareID) As Total From tblComputers Inner Join tblSoftware On tblComputers.Computername = tblSoftware.ComputerName Left Join tblADusers On tblADusers.Username = tblComputers.Username And tblADusers.Userdomain = tblComputers.Userdomain Group By tblADusers.Department, tblSoftware.softwareName, tblSoftware.softwareVersion, tblSoftware.SoftwarePublisher Order By tblADusers.Department, tblSoftware.softwareName
Thanks for the quote..it is showing only the data..there is no facility to see inside the software who is the user..can you provide that one also..so that it is useful for us to find the user..
Select tblADusers.Department, tblSoftware.softwareName, tblSoftware.softwareVersion, tblSoftware.SoftwarePublisher, Count(tblSoftware.SoftwareID) As Total From tblComputers Inner Join tblSoftware On tblComputers.Computername = tblSoftware.ComputerName Left Join tblADusers On tblADusers.Username = tblComputers.Username And tblADusers.Userdomain = tblComputers.Userdomain Group By tblADusers.Department, tblSoftware.softwareName, tblSoftware.softwareVersion, tblSoftware.SoftwarePublisher Order By tblADusers.Department, tblSoftware.softwareName