SELECT COUNT(*) FROM contact WHERE contactid NOT IN (Select entityid FROM listmember INNER JOIN list ON listmember.listid = list.listid WHERE list.listid = 'c0bb2785-f577-ee11-8179-6045bd006e5a')
SELECT COUNT(*) FROM contact WHERE contactid NOT IN (Select entityid FROM listmember WHERE listid = 'c0bb2785-f577-ee11-8179-6045bd006e5a')
even though the ins give the same results:
Select entityid FROM listmember INNER JOIN list ON listmember.listid = list.listid WHERE list.listid = 'c0bb2785-f577-ee11-8179-6045bd006e5a'
Select entityid FROM listmember WHERE listid = 'c0bb2785-f577-ee11-8179-6045bd006e5a'
These two statements give different results
even though the ins give the same results: