‎01-28-2009 11:23 PM
SELECT
tblComputers.Computername,
tblComputers.Username,
tblSoftware.softwareName
FROM
tblRegistry
LEFT OUTER JOIN tblComputers ON (tblRegistry.Computername = tblComputers.Computername)
INNER JOIN tblSoftware ON (tblComputers.Computername = tblSoftware.ComputerName)
WHERE
tblSoftware.softwareName LIKE '%microsoft office 2003%' AND
tblRegistry.Value NOT LIKE '%KB956328%'
‎01-29-2009 08:24 PM
SELECT Computername FROM tblcomputers where computername in (select computername from tblsoftware where softwareName LIKE '%microsoft office 2003%') and computername not in (select computername from tblregistry where Value LIKE '%KB956328%')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now