Here's a possible answer:
SELECT DISTINCT vc.Name,arp.DisplayName,arp.DisplayVersion
FROM Inv_AddRemoveProgram arp
JOIN vComputer vc ON vc.Guid=arp._ResourceGuid
INNER JOIN (
SELECT
arp._ResourceGuid,arp.DisplayName,MAX([dbo].[Custom_ConvertVersionToBigint](arp.DisplayVersion)) as 'VBigInt'
FROM Inv_AddRemoveProgram arp
JOIN vComputer vc ON vc.Guid=arp._ResourceGuid
GROUP BY arp._ResourceGuid,arp.DisplayName
) groupedarp ON arp._ResourceGuid=groupedarp._ResourceGuid AND [dbo].[Custom_ConvertVersionToBigint](arp.DisplayVersion) = groupedarp.VBigInt
WHERE arp.DisplayName LIKE 'ABC%'
Just replace 'ABC%' with your program name, e.g. 'Altiris Activity Center' or 'Skype%'
In order to run this query, you must first create the Custom_ConvertVersionToBigint function described in Ian's article above by running the statement once. Replace 'use altiris' with the name of your database, e.g. 'use Symantec_CMDB'
Does this answer your question?