I need to compile a report of a of our clients that are running both Symantec Endpoint Protection and System Center Endpoint Protection, however I can't seem to get it to work, here is what I have:
Select Top 1000000 tblSoftwareUni.softwareName As Software,
tblSoftware.softwareVersion As Version,
tblSoftwareUni.SoftwarePublisher As Publisher,
tblAssets.Domain,
tblAssets.IPAddress,
tblAssets.AssetName,
tblAssets.AssetID
From tblSoftware
Inner Join tblAssets On tblSoftware.AssetID = tblAssets.AssetID
Inner Join tblSoftwareUni On tblSoftware.softID = tblSoftwareUni.SoftID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Where tblSoftwareUni.softwareName = 'Symantec Endpoint Protection' And
tblSoftwareUni.softwareName = 'System Center Endpoint Protection' And
tblAssetCustom.State = 1
Order By tblAssets.Domain,
Version
If I replace the And with Or, I get a report that shows any computer that has either of the Software Packages. But when using the And in order to find clients that are running both packages at the same time, I get no results, even though I know that I have a lot of clients running both. What am I doing wrong in the report above?