How could I make this query better?
SELECT ClientID, BatchID, jobid, subjobid, count(clientid) as Total
FROM data with(nolock)
WHERE batchid in (select BatchID from data with(nolock) where lookupcode = '111111111111')
and clientid in (select ClientID from data with(nolock) where lookupcode = '111111111111')
and jobid in (select jobid from data with(nolock) where lookupcode = '111111111111')
and subjobid in (select subjobid from data with(nolock) where lookupcode = '111111111111')
and entrytype <> 'C'
and entrytype <> 'M'
group by clientid,BatchID, jobid, subjobid