How can I simplify multiple 'not in' queries? Is it efficient to use multiple subqueries: Not in (...) and Not in (..) and Not in (..)
I am using count (sorry forgot about that)
Select count (VisitorID)
from Company
where VisitorID not in (select VisitorID from UserLog where ActionID = 2 )
and VisitorID not in (select VisitorID from Supplies where productID = 4)