‎04-29-2017 06:34 PM
Select
tblAssets.Username
, (select s.softwareVersion
from tblSoftware s
inner join tblSoftwareUni su on s.softwareid = su.softwareid
where su.softwarename like '%crashplan%') as CrashPlanVersion
From tblAssets
Where
tblAssets.AssetName In ('ANITA-PC', 'AUDREY-PC','CHRISWARD-PC', 'JEFF-PC-2015', 'JOY-PC', 'JOYCE-PC', 'MARIANN-WILL-PC','RAY-PC', 'ROBERT-PC', 'TIFF-LAPTOP', 'FRANCES-PC', 'CRAIG-I7')
There was an error parsing the query. [ Token line number = 1,Token line offset = 29,Token in error = Select ]
Solved! Go to Solution.
‎05-01-2017 03:13 PM
Select Top 1000000 tblAssets.Username,
SubQuery.softwareVersion As CrashPlanVersion
From tblAssets
Left Join (Select tblSoftware.AssetID,
tblSoftware.softwareVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%crashplan%') SubQuery
On SubQuery.AssetID = tblAssets.AssetID
Where tblAssets.AssetName In ('ANITA-PC', 'AUDREY-PC', 'CHRISWARD-PC',
'JEFF-PC-2015', 'JOY-PC', 'JOYCE-PC', 'MARIANN-WILL-PC', 'RAY-PC',
'ROBERT-PC', 'TIFF-LAPTOP', 'FRANCES-PC', 'CRAIG-I7')
‎05-03-2017 06:21 AM
‎05-01-2017 03:13 PM
Select Top 1000000 tblAssets.Username,
SubQuery.softwareVersion As CrashPlanVersion
From tblAssets
Left Join (Select tblSoftware.AssetID,
tblSoftware.softwareVersion
From tblSoftware
Inner Join tblSoftwareUni On tblSoftwareUni.SoftID = tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%crashplan%') SubQuery
On SubQuery.AssetID = tblAssets.AssetID
Where tblAssets.AssetName In ('ANITA-PC', 'AUDREY-PC', 'CHRISWARD-PC',
'JEFF-PC-2015', 'JOY-PC', 'JOYCE-PC', 'MARIANN-WILL-PC', 'RAY-PC',
'ROBERT-PC', 'TIFF-LAPTOP', 'FRANCES-PC', 'CRAIG-I7')
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now