I need a solution
So I have SQL that will find all computers with no owner.
SELECT
vc.Guid,
vc.Name,
u.name
FROM
vComputer vc
LEFT JOIN vAssetUserOwner auo ON vc.Guid = auo._AssetGuid
LEFT JOIN vUser u ON auo._UGuid = u.Guid
WHERE
u.name is null
And I have SQL that will find computers with a name LIKE '%SERVER%'
SELECT *
FROM vRM_Computer_Item vC
WHERE vC.[Name] LIKE '%SERVER%'
ORDER BY vC.Name ASC
But I need help:
I need to find all the computers, with a name like server, with no owner, and then assign them to the department IT.
Can some one help me figure out the SQL?
Thanks,
Jeremy