Having an issue pulling data from two tables, normally I use a Join. This time I was trying this method of swql linked tables. It is throwing a common error but I cannot find it this time.
error: Column is invalild in the select list cause it is not contained in the either the aggregate function or the GROUP BY clause.
SELECT [NN].Caption,
[NN].Location,
[NN].IOSImage,
[NN].MachineType,
[NN].HardwareHealthInfos.HardwareItem.HardwareInfo.Model as Model
FROM Orion.Nodes as [NN]
WHERE [NN].Vendor like '%cisco%' and not ([NN].MachineType like '%Cisco Unified Communications Manager%' or [NN].MachineType like '%Identity Services Engine%' )
GROUP BY [NN].HardwareHealthInfos.HardwareItem.HardwareInfo.Model
HAVING [NN].HardwareHealthInfos.HardwareItem.HardwareInfo.Model NULL
ORDER BY [NN].Caption,
[NN].Location,
[NN].IOSImage,
[NN].MachineType,
[NN].Vendor