When I run a lot of my reports, I get a lot of duplicate machine entries of the same system.
Here is the code:
SELECT Distinct Inv_AeX_AC_Identification.Name, Inv_AeX_AC_Identification.[Domain], vUser.[Given Name], vUser.Surname, vUser.Name AS username,
Inv_AeX_OS_Add_Remove_Programs.Name AS [product name], Inv_AeX_OS_Add_Remove_Programs.Version
FROM Inv_AeX_AC_Identification INNER JOIN
vUser ON Inv_AeX_AC_Identification.[Last Logon User] = vUser.Name INNER JOIN
Inv_AeX_OS_Add_Remove_Programs ON Inv_AeX_AC_Identification._ResourceGuid = Inv_AeX_OS_Add_Remove_Programs._ResourceGuid
WHERE (Inv_AeX_OS_Add_Remove_Programs.Name LIKE '%Adobe Acrobat 8%')
I'm not proficient in SQL but can someone advise how to eliminate the duplicates from occuring?
Thanks!
Kevin