Here is my code so far, I copied it and thought I could just add to it to ask for columns at the top, software name and version
Select Top 1000000 tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.AssetID,
tblAssets.AssetUnique,
tblAssets.AssetName,
tblAssets.Domain,
tblAssets.IPAddress As IP
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Where tblAssets.AssetID In (Select tblSoftware.AssetID
From tblSoftware Inner Join tblSoftwareUni On tblSoftwareUni.SoftID =
tblSoftware.softID
Where tblSoftwareUni.softwareName Like '%OneDrive' And
tblSoftware.softwareVersion Not Like '19.232%') And
tblAssets.Lastseen <> '' And tblAssets.Assettype = -1
Order By tblAssets.AssetUnique
As always, any and all help greatly appreciated.
I am starting on basic SQL courses, the free ones seem good, any suggestions for report writing courses please?
Thanks in advance
Tim