I want to list
all assets from a hard-coded list and next to each asset, the version of CrashPlan installed, or blank where it is not installed.
Here is my query:
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')
However, I get the following error:
There was an error parsing the query. [ Token line number = 1,Token line offset = 29,Token in error = Select ]
Admittedly, I don't know how to interpret the error, except perhaps I cannot do a nested query as one of the columns?