‎05-17-2021 05:36 PM
‎05-21-2021 03:09 PM
Select Top 1000000 tblAssets.AssetName,
Query1.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssets.AssetID
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Right Join (Select Count(tblAssets.AssetID) As Count,
tblAssets.Username
From tblAssets
Group By tblAssets.Username
Having Count(tblAssets.AssetID) > 1) Query1 On Query1.Username =
tblAssets.Username
Where tblAssetCustom.State = 1
Group By tblAssets.AssetName,
Query1.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssets.AssetID,
tblAssets.Username
Order By Query1.Username
‎05-19-2021 05:41 PM
‎05-19-2021 05:12 PM
Select Top 1000000 tblAssets.AssetName,
Query1.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Right Join (Select Count(tblAssets.AssetID) As Count,
tblAssets.Username
From tblAssets
Group By tblAssets.Username
Having Count(tblAssets.AssetID) > 1) Query1 On Query1.Username =
tblAssets.Username
Where tblAssetCustom.State = 1
Group By tblAssets.AssetName,
Query1.Username,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssets.Username,
tblAssets.AssetID
Order By Query1.Username
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now