If you can't combine the tables try
select Nabp,RxNbr,RefillSeq from table1 a
where exists (select * from table2 b
where a.Nabp = b.Nabp and
a.RxNbr = b.RxNbr and
a.RefillSeq = b.RefillSeq
)
or exists (select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.