Figured it out:
Select Distinct Top 1000000 tblAssets.AssetName,
tblAssets.Lastseen,
tblAssets.Username,
Max(tblCPlogoninfo.logontime) As [Last Logon],
tblOperatingsystem.Caption As [OS Version],
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssetCustom.Manufacturer,
tblAssets.AssetID,
tblAssetCustom.Model
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Inner Join tblOperatingsystem
On tblAssets.AssetID = tblOperatingsystem.AssetID
Inner Join tblCPlogoninfo On tblAssets.Username = tblCPlogoninfo.Username And
tblAssets.Userdomain = tblCPlogoninfo.Domain
Where tblAssetCustom.Manufacturer Like '%vmware%' And
tblComputersystem.Domainrole < 2 And tblAssetCustom.State = 1
Group By tblAssets.AssetName,
tblAssets.Lastseen,
tblAssets.Username,
tblOperatingsystem.Caption,
tsysAssetTypes.AssetTypeIcon10,
tblAssetCustom.Manufacturer,
tblAssets.AssetID,
tblAssetCustom.Model
Order By tblAssets.AssetName