Hi, I'm trying to locate accounts that meet a certain criterion. My goal is to pull accounts that have a combination of services or perhaps have one service and not another. I've tried different ways to pull this using both In & Not In and even = & <>. Neither have been successful. Here is a sample of what I'm trying to do SELECT Distinct cunrov.cumstpf, cuco.cumstpf, cucno.cumstpf, cehed.convrpf, ceitm.convrpf, itdsc1.itmstpf, ceser.convrpf, svccode.srvstring FROM larlivfile/cumstpf,larlivfile/convrpf,larlivfile/cdo1cpp,larlivfile/srvrpf,larlivfile/itmstpf,larsql/srvstring PARTIAL OUTER JOIN o1syp8.cdo1cpp=aosyp8.srvrpf and o1cek6.cdo1cpp=aocek6.srvrpf and ceser.convrpf=o1txah.cdo1cpp and o1cnbr.cdo1cpp=aocnbr.srvrpf and cecus.convrpf=o1cnbr.cdo1cpp and cecus.convrpf=cucno.cumstpf and o1nrov.cdo1cpp=aonrov.srvrpf and cunrov.cumstpf=cenrov.convrpf and ceitm.convrpf=itptno.itmstpf and cucno.cumstpf=aocnbr.srvstring WHERE custa='A' AND ceitm IN('DHCT012','DHCT014','MMCD001') AND (aosvcd IN('HDTVSVC') AND aosvcd IN('DVRSVC1')) AND aorccd='A'The task the above should perform is to pull the account number of accounts that have both the HDTVSVC and DVRSVC1 codes active on the account. If anyone has any ideas they could share I would greatly appreciate the help. Thanks!