‎11-12-2021 01:39 PM
‎11-15-2021 02:42 PM
Select Top 1000000 tblassets.AssetID,
tblassets.AssetName,
Max(tblCPlogoninfo.logontime) As Latest,
tblCPlogoninfo.Username
From tblassets
Inner Join lansweeperdb.dbo.tblCPlogoninfo On tblassets.AssetID =
tblCPlogoninfo.AssetID And tblassets.Username = tblCPlogoninfo.Username
Where tblassets.AssetName Like 'TS-VNA%'
Group By tblassets.AssetID,
tblassets.AssetName,
tblCPlogoninfo.Username
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now