Hello,
I've been at this for a while so I decided to finally ask. If I have a select statement and I want one of the select columns result to be a BOOL/Int if the value is in another table?
For Example:
select cci.hostname, cci.client_group, cci.patch_group, cpsv.patch
From client_patch_status_view cpsv
Join ClientCheckIn cci on
cpsv.client_id = cci.client_id
AND patch like 'mySimplePatch-1.0'
Now, I want to add a column to the results called "inPatchGroup" to see if the "patch" is in the patch group patches table "patchgroup_patches".
How can I do this?
Thanks,
tom