I need a solution
Hi Everyone,
I would like your help, I want creat a report that show computer by Computer Type, I tried the following query:
Select DISTINCT
c.[Name],
Vct.[Name] AS 'Computer Type'
FROM
vCMDBComputer c
left JOIN ResourceAssociation raloc on raLoc.ParentResourceGuid = c.Guid
left JOIN vComputerType vct on vct._ResourceGuid = raLoc.ChildResourceGuid
where
c.[Name] LIKE 'em01mq04'
But the result is duplicated...
What I did wrong?
Thank you.